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 支持使用显式接口实现,但不支持声明新显式接口实现。
参数
- urnFragment
类型:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .IUrnFragment
An IUrnFragment object.
返回值
类型:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
A new key.