DatabaseTaskHost.GetProperty 方法
返回属性的当前值。
命名空间: Microsoft.Data.Schema.Build
程序集: Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Protected Function GetProperty ( _
propertyName As String, _
source As DatabaseTaskHost..::..PropertySource _
) As Object
protected Object GetProperty(
string propertyName,
DatabaseTaskHost..::..PropertySource source
)
protected:
Object^ GetProperty(
String^ propertyName,
DatabaseTaskHost..::..PropertySource source
)
member GetProperty :
propertyName:string *
source:DatabaseTaskHost..::..PropertySource -> Object
protected function GetProperty(
propertyName : String,
source : DatabaseTaskHost..::..PropertySource
) : Object
参数
- propertyName
类型:System.String
属性名称。
- source
类型:Microsoft.Data.Schema.Build.DatabaseTaskHost.PropertySource
属性源枚举值。
返回值
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。