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 重载