DatabaseTaskHost.SetValue Method
Sets the current value for the property.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Overridable Function SetValue ( _
propertyName As String, _
value As Object, _
source As DatabaseTaskHost..::..PropertySource, _
<OutAttribute> ByRef defaultUsed As Boolean _
) As Boolean
protected virtual bool SetValue(
string propertyName,
Object value,
DatabaseTaskHost..::..PropertySource source,
out bool defaultUsed
)
protected:
virtual bool SetValue(
String^ propertyName,
Object^ value,
DatabaseTaskHost..::..PropertySource source,
[OutAttribute] bool% defaultUsed
)
abstract SetValue :
propertyName:string *
value:Object *
source:DatabaseTaskHost..::..PropertySource *
defaultUsed:bool byref -> bool
override SetValue :
propertyName:string *
value:Object *
source:DatabaseTaskHost..::..PropertySource *
defaultUsed:bool byref -> bool
protected function SetValue(
propertyName : String,
value : Object,
source : DatabaseTaskHost..::..PropertySource,
defaultUsed : boolean
) : boolean
Parameters
- propertyName
Type: System.String
The property name.
- value
Type: System.Object
The object value.
- source
Type: Microsoft.Data.Schema.Build.DatabaseTaskHost.PropertySource
The property source enumeration value.
- defaultUsed
Type: System.Boolean%
Specifies whether the default was used for this property.
Return Value
Type: System.Boolean
Returns true if the set was successful.
.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.