共用方式為


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

參數

傳回值

型別:System.String
屬性的目前值。

.NET Framework 安全性

請參閱

參考

IDatabaseProjectPropertiesContainer 介面

Microsoft.VisualStudio.Data.Schema.Package.Project 命名空間