MapGuide API Reference
|
virtual void MgResourceIdentifier::SetRepositoryName | ( | CREFSTRING | name | ) | [virtual] |
Sets the repository name.
virtual void SetRepositoryName(string name); |
virtual void SetRepositoryName(String name); |
virtual void SetRepositoryName(string name); |
name | (String/string) Repository name.
|
// Assuming $newResourceID has already been created $newResourceID->SetRepositoryName(""); $newResourceID->SetRepositoryType("Library"); $newResourceID->Validate();
or
$newResourceID->SetRepositoryName($sessionID);
$newResourceID->SetRepositoryType("Session");
$newResourceID->Validate();