IDatabaseProjectPropertiesContainer.GetProperty 方法
傳回目錄或伺服器屬性的值。
命名空間: Microsoft.VisualStudio.Data.Schema.Package.Project
組件: Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
語法
'宣告
Function GetProperty ( _
propertyName As String, _
source As DatabaseTaskHost..::..PropertySource _
) As String
string GetProperty(
string propertyName,
DatabaseTaskHost..::..PropertySource source
)
String^ GetProperty(
String^ propertyName,
DatabaseTaskHost..::..PropertySource source
)
abstract GetProperty :
propertyName:string *
source:DatabaseTaskHost..::..PropertySource -> string
function GetProperty(
propertyName : String,
source : DatabaseTaskHost..::..PropertySource
) : String
參數
- propertyName
型別:System.String
屬性的名稱。
- source
型別:Microsoft.Data.Schema.Build.DatabaseTaskHost.PropertySource
屬性來源 (目錄或伺服器)。
傳回值
型別:System.String
屬性的目前值。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。