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 版本支持此命名空间、类或成员。