共用方式為


RegisteredServer.Key 建構函式 (String)

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

命名空間:  Microsoft.SqlServer.Management.RegisteredServers
組件:  Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)

語法

'宣告
Public Sub New ( _
    name As String _
)
'用途
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
)

參數

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

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

請參閱

參考

RegisteredServer.Key 類別

RegisteredServer.Key 多載

Microsoft.SqlServer.Management.RegisteredServers 命名空間