FsrmPathMapperClass.GetSharePathsForLocalPath Method (String)

 

Retrieves a list of network shares that point to the specified local path.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

public virtual object[] GetSharePathsForLocalPath(
    string localPath
)
public:
virtual array<Object^>^ GetSharePathsForLocalPath(
    String^ localPath
)
abstract GetSharePathsForLocalPath : 
        localPath:string -> Object[]
override GetSharePathsForLocalPath : 
        localPath:string -> Object[]
Public Overridable Function GetSharePathsForLocalPath (
    localPath As String
) As Object()

Parameters

  • localPath
    Type: System.String

    The local path. The string is limited to 260 characters.

Return Value

Type: System.Object[]

Returns a Object containing A SAFEARRAY of VARIANTs. Each VARIANT contains a network share path that points to the local path. The variant type is VT_BSTR. Use the bstrVal member to access the share path.

Implements

IFsrmPathMapper.GetSharePathsForLocalPath(String)

Remarks

When you get the path property for a quota, the path is the local path. You use this method to convert that local path to the network path if you want to know the actual network share that is running out of space.

See Also

FsrmPathMapper
IFsrmPathMapper
FsrmPathMapperClass Class
Microsoft.Storage Namespace

Return to top