PropertyData 构造函数

定义

初始化 PropertyData 类的新实例。

重载

PropertyData(ISfcProperty)

PropertyData使用指定的属性初始化类的新实例。

PropertyData(String, Object)

使用指定的名称和值初始化 PropertyData 类的新实例。

PropertyData(String, Type)

使用指定的名称和类型初始化 PropertyData 类的新实例。

PropertyData(String, Object, Boolean)

使用指定的名称、值和启用的设置初始化 PropertyData 类的新实例。

PropertyData(String, Type, Boolean)

使用指定的名称、类型和启用的设置初始化 PropertyData 类的新实例。

PropertyData(String, Type, Object)

使用指定的名称、类型和值初始化 PropertyData 类的新实例。

PropertyData(String, Type, Object, Boolean)

使用指定的名称、类型、值和启用的设置初始化 PropertyData 类的新实例。

PropertyData(ISfcProperty)

PropertyData使用指定的属性初始化类的新实例。

public:
 PropertyData(Microsoft::SqlServer::Management::Sdk::Sfc::ISfcProperty ^ property);
public PropertyData (Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty property);
new Microsoft.SqlServer.Management.Data.PropertyData : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty -> Microsoft.SqlServer.Management.Data.PropertyData
Public Sub New (property As ISfcProperty)

参数

property
ISfcProperty

一个表示某个属性的属性值。

适用于

PropertyData(String, Object)

使用指定的名称和值初始化 PropertyData 类的新实例。

public:
 PropertyData(System::String ^ name, System::Object ^ value);
public PropertyData (string name, object value);
new Microsoft.SqlServer.Management.Data.PropertyData : string * obj -> Microsoft.SqlServer.Management.Data.PropertyData
Public Sub New (name As String, value As Object)

参数

name
String

一个表示控件名称的字符串

value
Object

一个对象,通过表示 lt 的引用传递 & ; 对参数的作用的说明或表示 & gt;。

适用于

PropertyData(String, Type)

使用指定的名称和类型初始化 PropertyData 类的新实例。

public:
 PropertyData(System::String ^ name, Type ^ type);
public PropertyData (string name, Type type);
new Microsoft.SqlServer.Management.Data.PropertyData : string * Type -> Microsoft.SqlServer.Management.Data.PropertyData
Public Sub New (name As String, type As Type)

参数

name
String

一个表示控件名称的字符串。

type
Type

指定的属性类型。

适用于

PropertyData(String, Object, Boolean)

使用指定的名称、值和启用的设置初始化 PropertyData 类的新实例。

public:
 PropertyData(System::String ^ name, System::Object ^ value, bool enabled);
public PropertyData (string name, object value, bool enabled);
new Microsoft.SqlServer.Management.Data.PropertyData : string * obj * bool -> Microsoft.SqlServer.Management.Data.PropertyData
Public Sub New (name As String, value As Object, enabled As Boolean)

参数

name
String

一个表示属性的字符串输入。

value
Object

一个要在属性中使用的对象。

enabled
Boolean

true 如果启用属性,则为;否则为 false

适用于

PropertyData(String, Type, Boolean)

使用指定的名称、类型和启用的设置初始化 PropertyData 类的新实例。

public:
 PropertyData(System::String ^ name, Type ^ type, bool enabled);
public PropertyData (string name, Type type, bool enabled);
new Microsoft.SqlServer.Management.Data.PropertyData : string * Type * bool -> Microsoft.SqlServer.Management.Data.PropertyData
Public Sub New (name As String, type As Type, enabled As Boolean)

参数

name
String

一个表示属性的字符串输入。

type
Type

要使用的属性类型。

enabled
Boolean

true 如果启用属性,则为;否则为 false

适用于

PropertyData(String, Type, Object)

使用指定的名称、类型和值初始化 PropertyData 类的新实例。

public:
 PropertyData(System::String ^ name, Type ^ type, System::Object ^ value);
public PropertyData (string name, Type type, object value);
new Microsoft.SqlServer.Management.Data.PropertyData : string * Type * obj -> Microsoft.SqlServer.Management.Data.PropertyData
Public Sub New (name As String, type As Type, value As Object)

参数

name
String

一个表示属性的字符串输入。

type
Type

要使用的属性类型。

value
Object

一个要在属性中使用的对象。

适用于

PropertyData(String, Type, Object, Boolean)

使用指定的名称、类型、值和启用的设置初始化 PropertyData 类的新实例。

public:
 PropertyData(System::String ^ name, Type ^ type, System::Object ^ value, bool enabled);
public PropertyData (string name, Type type, object value, bool enabled);
new Microsoft.SqlServer.Management.Data.PropertyData : string * Type * obj * bool -> Microsoft.SqlServer.Management.Data.PropertyData
Public Sub New (name As String, type As Type, value As Object, enabled As Boolean)

参数

name
String

一个表示属性的字符串输入。

type
Type

要使用的属性类型。

value
Object

一个要在属性中使用的对象。

enabled
Boolean

true 如果启用属性,则为;否则为 false

适用于