PropertyDictionary 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 PropertyDictionary 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| PropertyDictionary() |
初始化一個新的類別實例 PropertyDictionary ,使用預設屬性值。 |
| PropertyDictionary(ISfcPropertyProvider) |
初始化一個以指定提供者為類別的新 PropertyDictionary 實例。 |
| PropertyDictionary(IEnumerable<KeyValuePair<String,Object>>) |
初始化一個具有指定屬性的 PropertyDictionary 類別新實例。 |
PropertyDictionary()
初始化一個新的類別實例 PropertyDictionary ,使用預設屬性值。
public:
PropertyDictionary();
public PropertyDictionary();
Public Sub New ()
適用於
PropertyDictionary(ISfcPropertyProvider)
初始化一個以指定提供者為類別的新 PropertyDictionary 實例。
public:
PropertyDictionary(Microsoft::SqlServer::Management::Sdk::Sfc::ISfcPropertyProvider ^ provider);
public PropertyDictionary(Microsoft.SqlServer.Management.Sdk.Sfc.ISfcPropertyProvider provider);
new Microsoft.SqlServer.Management.Data.PropertyDictionary : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcPropertyProvider -> Microsoft.SqlServer.Management.Data.PropertyDictionary
Public Sub New (provider As ISfcPropertyProvider)
參數
- provider
- ISfcPropertyProvider
一個管理 PropertyDictionary 的介面。
適用於
PropertyDictionary(IEnumerable<KeyValuePair<String,Object>>)
初始化一個具有指定屬性的 PropertyDictionary 類別新實例。
public:
PropertyDictionary(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ properties);
public PropertyDictionary(System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>> properties);
new Microsoft.SqlServer.Management.Data.PropertyDictionary : seq<System.Collections.Generic.KeyValuePair<string, obj>> -> Microsoft.SqlServer.Management.Data.PropertyDictionary
Public Sub New (properties As IEnumerable(Of KeyValuePair(Of String, Object)))
參數
- properties
- IEnumerable<KeyValuePair<String,Object>>
一個用來枚舉指定字串 KeyValuePair 的介面。