Partager via


Méthode RegisteredServersStore.GetKey

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

Espace de noms :  Microsoft.SqlServer.Management.RegisteredServers
Assembly :  Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntaxe

'Déclaration
Public Function GetKey ( _
    urnFragment As IUrnFragment _
) As SfcKey
'Utilisation
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

Paramètres

Valeur de retour

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

Implémente

ISfcDomain.GetKey(IUrnFragment)

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Voir aussi

Référence

RegisteredServersStore Classe

Espace de noms Microsoft.SqlServer.Management.RegisteredServers