Sdílet prostřednictvím


RegisteredServersStore.GetKey Method

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

Parameters

Return Value

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

Implements

ISfcDomain.GetKey(IUrnFragment)

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.