Метод 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.