共用方式為


SfcSqlPathUtilities.ConvertUrnToPath 方法

Converts the specified SMO Uniform Resource Names (URN) to a PowerShell path. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Shared Function ConvertUrnToPath ( _
    urn As Urn _
) As String
'用途
Dim urn As Urn 
Dim returnValue As String 

returnValue = SfcSqlPathUtilities.ConvertUrnToPath(urn)
public static string ConvertUrnToPath(
    Urn urn
)
public:
static String^ ConvertUrnToPath(
    Urn^ urn
)
static member ConvertUrnToPath : 
        urn:Urn -> string
public static function ConvertUrnToPath(
    urn : Urn
) : String

參數

傳回值

型別:System.String
The equivalent PowerShell path.

請參閱

參考

SfcSqlPathUtilities 類別

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間