Share via


PolicyStore.ISfcDomain.GetKey Method

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

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

Syntax

'Declaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Private Function GetKey ( _
    urnFragment As IUrnFragment _
) As SfcKey Implements ISfcDomain.GetKey
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Return Value

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

Implements

ISfcDomain.GetKey(IUrnFragment)

See Also

Reference

PolicyStore Class

Microsoft.SqlServer.Management.Dmf Namespace