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

Параметры

Возвращаемое значение

Тип: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
The key associated with the Unique Resource Name fragment.

Реализует

ISfcDomain.GetKey(IUrnFragment)

Замечания

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

См. также

Справочник

RegisteredServersStore Класс

Пространство имен Microsoft.SqlServer.Management.RegisteredServers