OASqlCmdVarsEditor.SetProperty Method
Sets a property on the UI.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Sql.Automation
Assembly: Microsoft.VisualStudio.Data.Schema.Project.Sql (in Microsoft.VisualStudio.Data.Schema.Project.Sql.dll)
Syntax
'Declaration
Public Function SetProperty ( _
propertyName As String, _
propertyValue As String _
) As Boolean
'Usage
Dim instance As OASqlCmdVarsEditor
Dim propertyName As String
Dim propertyValue As String
Dim returnValue As Boolean
returnValue = instance.SetProperty(propertyName, _
propertyValue)
public bool SetProperty(
string propertyName,
string propertyValue
)
public:
bool SetProperty(
String^ propertyName,
String^ propertyValue
)
public function SetProperty(
propertyName : String,
propertyValue : String
) : boolean
member SetProperty :
propertyName:string *
propertyValue:string -> bool
Parameters
- propertyName
Type: System.String
The property name
- propertyValue
Type: System.String
The new property value
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Sql.Automation Namespace