次の方法で共有


SfcSqlPathUtilities.ConvertUrnToPath メソッド

指定した SMO URN (Uniform Resource Name) を PowerShell パスに変換します。 このメンバーをコード内で直接参照しないでください。このメンバーは、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
SMO URN に相当する PowerShell パスです。

関連項目

参照

SfcSqlPathUtilities クラス

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