Метод 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.