共用方式為


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.