Udostępnij za pośrednictwem


Metoda GetKey

Pobiera SfcKey obiektu określonego fragmentu jednolitej nazwy zasobu URN i domena. 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
Function GetKey ( _
    urnFragment As IUrnFragment _
) As SfcKey
'Użycie
Dim instance As ISfcDomain
Dim urnFragment As IUrnFragment
Dim returnValue As SfcKey

returnValue = instance.GetKey(urnFragment)
SfcKey GetKey(
    IUrnFragment urnFragment
)
SfcKey^ GetKey(
    IUrnFragment^ urnFragment
)
abstract GetKey : 
        urnFragment:IUrnFragment -> SfcKey 
function GetKey(
    urnFragment : IUrnFragment
) : SfcKey

Parameters

Wartość zwracana

Typ: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
SfcKey Obiekt, który reprezentuje klucz.