Freigeben über


GetKey-Methode

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

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

Syntax

'Declaration
Public Function GetKey ( _
    urnFragment As IUrnFragment _
) As SfcKey
'Usage
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

Parameter

Rückgabewert

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

Implementiert

ISfcDomain. . :: . .GetKey(IUrnFragment)

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.