Compartilhar via


Método ISfcDomain.GetKey

Gets a new SfcKey of type determined by the name property of urnFragment parameter.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)

Sintaxe

'Declaração
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Private Function GetKey ( _
    urnFragment As IUrnFragment _
) As SfcKey Implements ISfcDomain.GetKey
'Uso
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 
JScript dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
A new key.

Implementa

ISfcDomain. . :: . .GetKey(IUrnFragment)