共用方式為


ISfcDomain.GetKey 方法

Gets a SfcKey object that represents the DAC domain.

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

語法

'宣告
Private Function GetKey ( _
    urnFragment As IUrnFragment _
) As SfcKey Implements ISfcDomain.GetKey
'用途
Dim instance As DacDomain
Dim urnFragment As IUrnFragment
Dim returnValue As SfcKey

returnValue = CType(instance, ISfcDomain).GetKey(urnFragment)
SfcKey ISfcDomain.GetKey(
    IUrnFragment urnFragment
)
private:
virtual SfcKey^ GetKey(
    IUrnFragment^ urnFragment
) sealed = ISfcDomain::GetKey
private abstract GetKey : 
        urnFragment:IUrnFragment -> SfcKey 
private override GetKey : 
        urnFragment:IUrnFragment -> SfcKey 
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

傳回值

型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
Returns a SfcKey object that represents the DAC domain.

實作

ISfcDomain. . :: . .GetKey(IUrnFragment)