SfcSqlPathUtilities.ConvertUrnToPath Method
Converts the specified SMO Uniform Resource Names (URN) to a PowerShell path. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Shared Function ConvertUrnToPath ( _
urn As Urn _
) As String
'Usage
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
Parameters
- urn
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
The SMO URN to convert.
Return Value
Type: System.String
The equivalent PowerShell path.