Méthode ISfcDomain.GetKey

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

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Private Function GetKey ( _
    urnFragment As IUrnFragment _
) As SfcKey Implements ISfcDomain.GetKey
'Utilisation
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.

Valeur de retour

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

Implémente

ISfcDomain. . :: . .GetKey(IUrnFragment)