共用方式為


IDatabaseProjectNode.SetProjectProperty 方法 (String, String, DatabaseProjectPropertyComparisonType, DatabaseProjectEventPropagation)

設定專案屬性。

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

語法

'宣告
Sub SetProjectProperty ( _
    propertyName As String, _
    propertyValue As String, _
    comparisonType As DatabaseProjectPropertyComparisonType, _
    raiseEvents As DatabaseProjectEventPropagation _
)
void SetProjectProperty(
    string propertyName,
    string propertyValue,
    DatabaseProjectPropertyComparisonType comparisonType,
    DatabaseProjectEventPropagation raiseEvents
)
void SetProjectProperty(
    String^ propertyName, 
    String^ propertyValue, 
    DatabaseProjectPropertyComparisonType comparisonType, 
    DatabaseProjectEventPropagation raiseEvents
)
abstract SetProjectProperty : 
        propertyName:string * 
        propertyValue:string * 
        comparisonType:DatabaseProjectPropertyComparisonType * 
        raiseEvents:DatabaseProjectEventPropagation -> unit 
function SetProjectProperty(
    propertyName : String, 
    propertyValue : String, 
    comparisonType : DatabaseProjectPropertyComparisonType, 
    raiseEvents : DatabaseProjectEventPropagation
)

參數

.NET Framework 安全性

請參閱

參考

IDatabaseProjectNode 介面

SetProjectProperty 多載

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