Utility.ISfcDomain.GetKey 方法
Gets a new SfcKey object.
命名空間: Microsoft.SqlServer.Management.Utility
組件: Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)
語法
'宣告
Private Function GetKey ( _
urnFragment As IUrnFragment _
) As SfcKey Implements ISfcDomain.GetKey
'用途
Dim instance As Utility
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 支援明確介面實作的使用,但不支援新介面實作的宣告。
參數
- urnFragment
型別:Microsoft.SqlServer.Management.Sdk.Sfc.IUrnFragment
An IUrnFragment object.
傳回值
型別:Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
An SfcKey object.
實作
ISfcDomain.GetKey(IUrnFragment)