IFsrmPathMapper.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

object[] GetSharePathsForLocalPath(
    string localPath
)
array<Object^>^ GetSharePathsForLocalPath(
    String^ localPath
)
abstract GetSharePathsForLocalPath : 
        localPath:string -> Object[]
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[]

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.

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 Interface
Microsoft.Storage Namespace

Return to top