GetKey 方法
Gets the key associated with the Unique Resource Name (URN) fragment.
命名空間: Microsoft.SqlServer.Management.RegisteredServers
組件: Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)
語法
'宣告
Public Function GetKey ( _
urnFragment As IUrnFragment _
) As SfcKey
'用途
Dim instance As RegisteredServersStore
Dim urnFragment As IUrnFragment
Dim returnValue As SfcKey
returnValue = instance.GetKey(urnFragment)
public SfcKey GetKey(
IUrnFragment urnFragment
)
public:
virtual SfcKey^ GetKey(
IUrnFragment^ urnFragment
) sealed
abstract GetKey :
urnFragment:IUrnFragment -> SfcKey
override GetKey :
urnFragment:IUrnFragment -> SfcKey
public final function GetKey(
urnFragment : IUrnFragment
) : SfcKey
參數
- urnFragment
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .IUrnFragment
An IUrnFragment object that specifies an interface that represents a URN fragment.
傳回值
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcKey
The key associated with the Unique Resource Name fragment.
實作
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。