Udostępnij za pośrednictwem


Metoda DacDomain.ISfcDomain.GetKey

Pobiera SfcKey obiekt, który reprezentuje domena DAC.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dac
Zestaw:  Microsoft.SqlServer.Management.Dac (w Microsoft.SqlServer.Management.Dac.dll)

Składnia

'Deklaracja
Private Function GetKey ( _
    urnFragment As IUrnFragment _
) As SfcKey Implements ISfcDomain.GetKey
'Użycie
Dim instance As DacDomain
Dim urnFragment As IUrnFragment
Dim returnValue As SfcKey

returnValue = CType(instance, ISfcDomain).GetKey(urnFragment)
SfcKey ISfcDomain.GetKey(
    IUrnFragment urnFragment
)
private:
virtual SfcKey^ GetKey(
    IUrnFragment^ urnFragment
) sealed = ISfcDomain::GetKey
private abstract GetKey : 
        urnFragment:IUrnFragment -> SfcKey 
private override GetKey : 
        urnFragment:IUrnFragment -> SfcKey 
Język JScript obsługuje używanie jawnych implementacji interfejsów, ale nie obsługuje deklarowania nowych.

Wartość zwracana

Typ: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Zwraca SfcKey obiekt, który reprezentuje domena DAC.

Implementacje

ISfcDomain.GetKey(IUrnFragment)