Retrieves the name of this folder object, given existence of a ProtectionGroupFolder or RecoveryPlanFolder.

Synopsis

String getName( )

Faults

  • RuntimeFault

See for Faults in Site Recovery Manager API more details.

Example for GetName

java.lang.String name = srmPortType.getName(ManagedObjectReference _this);

where ManagedObjectReference _this = _folderRef;
where _folderRef can be taken from:
	SrmServiceInstanceContent content = _srmPortType.retrieveContent(_svcRef);
ManagedObjectReference _protectionRef = content.getProtection();
ManagedObjectReference _folderRef = srmPortType.getProtectionGroupRootFolder(
	ManagedObjectReference _this);
where ManagedObjectReference _this = _protectionRef;