Metoda SfcSqlPathUtilities.ConvertUrnToPath
Konwertuje ścieżka PowerShell określonego SMO jednolitego zasobu nazwy URN.Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.
Przestrzeń nazw: Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw: Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Składnia
'Deklaracja
Public Shared Function ConvertUrnToPath ( _
urn As Urn _
) As String
'Użycie
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
Parametry
- urn
Typ: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
URN SMO konwersji.
Wartość zwracana
Typ: System.String
ścieżka równoważne PowerShell.
Zobacz także