CatalogOrServerPropertyItem 建構函式 (String, String, DatabaseTaskHost.PropertySource, Boolean)
根據提供的參數,初始化 CatalogOrServerPropertyItem 類別的新執行個體。
命名空間: Microsoft.Data.Schema.Build
組件: Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)
語法
'宣告
Public Sub New ( _
name As String, _
value As String, _
source As DatabaseTaskHost..::..PropertySource, _
verifyThisProperty As Boolean _
)
public CatalogOrServerPropertyItem(
string name,
string value,
DatabaseTaskHost..::..PropertySource source,
bool verifyThisProperty
)
public:
CatalogOrServerPropertyItem(
String^ name,
String^ value,
DatabaseTaskHost..::..PropertySource source,
bool verifyThisProperty
)
new :
name:string *
value:string *
source:DatabaseTaskHost..::..PropertySource *
verifyThisProperty:bool -> CatalogOrServerPropertyItem
public function CatalogOrServerPropertyItem(
name : String,
value : String,
source : DatabaseTaskHost..::..PropertySource,
verifyThisProperty : boolean
)
參數
- name
型別:System.String
string 形式的項目名稱。
- value
型別:System.String
string 形式的項目值。
- source
型別:Microsoft.Data.Schema.Build.DatabaseTaskHost.PropertySource
Microsoft.Data.Schema.Build.DatabaseTaskHost.PropertySource 物件,表示項目來源。
- verifyThisProperty
型別:System.Boolean
指定在伺服器屬性檔中是否要將屬性標示為已驗證。
備註
這個建構函式只用於伺服器屬性。 如果 verifyThisProperty 為 true,屬性將會在伺服器屬性檔中標記為已驗證。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
CatalogOrServerPropertyItem 類別
CatalogOrServerPropertyItem 多載