Share via


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

  • 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

See Also

Reference

DatabaseTaskHost Class

Microsoft.Data.Schema.Build Namespace