Udostępnij przez


Metoda PolicyStore.ISfcDomain.GetKey

Pobiera nowy SfcKey typu określony przez właściwość name urnFragment parametru.

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

Składnia

'Deklaracja
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Private Function GetKey ( _
    urnFragment As IUrnFragment _
) As SfcKey Implements ISfcDomain.GetKey
'Użycie
Dim instance As PolicyStore
Dim urnFragment As IUrnFragment
Dim returnValue As SfcKey

returnValue = CType(instance, ISfcDomain).GetKey(urnFragment)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
SfcKey ISfcDomain.GetKey(
    IUrnFragment urnFragment
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
private:
virtual SfcKey^ GetKey(
    IUrnFragment^ urnFragment
) sealed = ISfcDomain::GetKey
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
private abstract GetKey : 
        urnFragment:IUrnFragment -> SfcKey 
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
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
A new SfcKey.

Implementacje

ISfcDomain.GetKey(IUrnFragment)