Partilhar via


Método GetKey

Gets the key associated with the Unique Resource Name (URN) fragment.

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (em Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintaxe

'Declaração
Public Function GetKey ( _
    urnFragment As IUrnFragment _
) As SfcKey
'Uso
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

Parâmetros

Valor de retorno

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

Implementa

ISfcDomain. . :: . .GetKey(IUrnFragment)

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.