Delen via


RegisteredServer.Key Constructor (String)

Initializes a new instance of the RegisteredServer.Key class that has the specified name.

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

Syntax

'Declaration
Public Sub New ( _
    name As String _
)
'Usage
Dim name As String

Dim instance As New RegisteredServer..::..Key(name)
public Key(
    string name
)
public:
Key(
    String^ name
)
new : 
        name:string -> Key
public function RegisteredServer..::..Key(
    name : String
)

Parameters

  • name
    Type: System.String
    A String value that specifies the name of the registered server key.

Remarks

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