将项目属性设置为指定值。
命名空间: Microsoft.VisualStudio.Data.Schema.Package.Project
程序集: Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Sub SetConfigurationProperty ( _
propertyName As String, _
propertyValue As String, _
raiseEvents As DatabaseProjectEventPropagation _
)
void SetConfigurationProperty(
string propertyName,
string propertyValue,
DatabaseProjectEventPropagation raiseEvents
)
void SetConfigurationProperty(
String^ propertyName,
String^ propertyValue,
DatabaseProjectEventPropagation raiseEvents
)
abstract SetConfigurationProperty :
propertyName:string *
propertyValue:string *
raiseEvents:DatabaseProjectEventPropagation -> unit
function SetConfigurationProperty(
propertyName : String,
propertyValue : String,
raiseEvents : DatabaseProjectEventPropagation
)
参数
- propertyName
类型:System.String
属性的名称。
- propertyValue
类型:System.String
属性的新值。
- raiseEvents
类型:Microsoft.VisualStudio.Data.Schema.Package.Project.DatabaseProjectEventPropagation
确定在设置属性值时,系统是否应引发事件。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。