GetKey 方法

Gets an SfcKey object for the specified Uniform Resource Name (URN) fragment and this domain. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Function GetKey ( _
    urnFragment As IUrnFragment _
) As SfcKey
用法
Dim instance As ISfcDomain
Dim urnFragment As IUrnFragment
Dim returnValue As SfcKey

returnValue = instance.GetKey(urnFragment)
SfcKey GetKey(
    IUrnFragment urnFragment
)
SfcKey^ GetKey(
    IUrnFragment^ urnFragment
)
abstract GetKey : 
        urnFragment:IUrnFragment -> SfcKey 
function GetKey(
    urnFragment : IUrnFragment
) : SfcKey

参数

返回值

类型:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
An SfcKey object that represents a key.