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