Computer.Key 构造函数

定义

初始化 Computer.Key 类的新实例。

重载

名称 说明
Computer.Key()

初始化一个拥有指定名称的 Computer.Key 类的新实例。

Computer.Key(Computer+Key)

基于指定的密钥初始化该类的新 Computer.Key 实例。

Computer.Key(String)

初始化一个拥有指定名称的 Computer.Key 类的新实例。

注解

该命名空间、类或成员仅在Microsoft .NET框架2.0版本中支持。

Computer.Key()

初始化一个拥有指定名称的 Computer.Key 类的新实例。

public:
 Key();
public Key();
Public Sub New ()

适用于

Computer.Key(Computer+Key)

基于指定的密钥初始化该类的新 Computer.Key 实例。

public:
 Key(Microsoft::SqlServer::Management::Utility::Computer::Key ^ other);
public Key(Microsoft.SqlServer.Management.Utility.Computer.Key other);
new Microsoft.SqlServer.Management.Utility.Computer.Key : Microsoft.SqlServer.Management.Utility.Computer.Key -> Microsoft.SqlServer.Management.Utility.Computer.Key
Public Sub New (other As Computer.Key)

参数

other
Computer.Key

一个 Computer.Key 指定另一个键的值。

适用于

Computer.Key(String)

初始化一个拥有指定名称的 Computer.Key 类的新实例。

public:
 Key(System::String ^ name);
public Key(string name);
new Microsoft.SqlServer.Management.Utility.Computer.Key : string -> Microsoft.SqlServer.Management.Utility.Computer.Key
Public Sub New (name As String)

参数

name
String

一个 String 指定密钥名称的值。

适用于