Extracts the repository type from a resource's identifier.
.NET Syntax
Java Syntax
PHP Syntax
Examples (PHP)
$resourceID = new MgResourceIdentifier("Library://Geography/World.MapDefinition"); $repository_type = $resourceID->GetRepositoryType(); // returns: "Library" $resourceID = new MgResourceIdentifier("Session:$sessionID//Geography/World.MapDefinition"); $repository_type = $resourceID->GetRepositoryType(); // returns: "Session"
|