Metoda GetSmlUri
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)
Syntax
'Deklaracja
Public Shared Function GetSmlUri ( _
urn As Urn, _
instanceType As Type _
) As String
'Użycie
Dim urn As Urn
Dim instanceType As Type
Dim returnValue As String
returnValue = SfcUtility.GetSmlUri(urn, _
instanceType)
public static string GetSmlUri(
Urn urn,
Type instanceType
)
public:
static String^ GetSmlUri(
Urn^ urn,
Type^ instanceType
)
static member GetSmlUri :
urn:Urn *
instanceType:Type -> string
public static function GetSmlUri(
urn : Urn,
instanceType : Type
) : String
Parameters
- urn
Typ: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Urn
Określa nazwę uri uniform zasób
- instanceType
Typ: System. . :: . .Type
Typ wystąpienie identyfikatora uri.
Wartość zwracana
Typ: System. . :: . .String
Równoważne SML-URI dla danego identyfikatora uri.