Machine.GetStorageName Method |
Gives first string of parameter pName
Namespace:
VMInfoFace.Data
Assembly:
VMInfoFace.Data (in VMInfoFace.Data.dll) Version: 21.5.28.1 (21.5.28.1171)
Syntaxpublic static string GetStorageName(
string pName
)
Public Shared Function GetStorageName (
pName As String
) As String
Parameters
- pName
- Type: System.String
Complete name example [silver (3parA_022_fc-nl_ao)] SRV001047.vmdk
Return Value
Type:
StringStorage name. If parameter
pName empty then gives text "no definition"
Examples
This example gives back "silver" from name "[silver (3parA_022_fc-nl_ao)] SRV001047.vmdk"
string StorageName = VMInfoFace.Data.Machine.GetStorageName("[silver (3parA_022_fc-nl_ao)] SRV001047.vmdk");
See Also