共用方式為


IDatabaseProjectConfiguration.GetConfigurationProperty 方法

傳回組態的屬性值。

命名空間:  Microsoft.VisualStudio.Data.Schema.Package.Project
組件:  Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

語法

'宣告
Function GetConfigurationProperty ( _
    propertyName As String, _
    resetCache As Boolean, _
    evaluation As DatabaseProjectPropertyValueType _
) As String
string GetConfigurationProperty(
    string propertyName,
    bool resetCache,
    DatabaseProjectPropertyValueType evaluation
)
String^ GetConfigurationProperty(
    String^ propertyName, 
    bool resetCache, 
    DatabaseProjectPropertyValueType evaluation
)
abstract GetConfigurationProperty : 
        propertyName:string * 
        resetCache:bool * 
        evaluation:DatabaseProjectPropertyValueType -> string 
function GetConfigurationProperty(
    propertyName : String, 
    resetCache : boolean, 
    evaluation : DatabaseProjectPropertyValueType
) : String

參數

  • resetCache
    型別:System.Boolean
    True 表示要重新處理 MSBuild 屬性快取。

傳回值

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

.NET Framework 安全性

請參閱

參考

IDatabaseProjectConfiguration 介面

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