共用方式為


ISfcDomain.GetKey 方法

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

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Private Function GetKey ( _
    urnFragment As IUrnFragment _
) As SfcKey Implements ISfcDomain.GetKey
'用途
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 支援明確介面實作的使用,但不支援新介面實作的宣告。

實作

ISfcDomain. . :: . .GetKey(IUrnFragment)