PropertyData 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 PropertyData 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| 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
一個物件,透過代表 < 的參考傳遞;參數的作用或代表的描述。
適用於
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