Freigeben über


DatabaseTaskHost.SetValue-Methode

Legt den aktuellen Wert für die Eigenschaft fest.

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

Parameter

  • defaultUsed
    Typ: System.Boolean%
    Gibt an, ob für diese Eigenschaft der Standardwert verwendet wurde.

Rückgabewert

Typ: System.Boolean
Gibt true zurück, wenn die Festlegung erfolgreich war.

.NET Framework-Sicherheit

Siehe auch

Referenz

DatabaseTaskHost Klasse

Microsoft.Data.Schema.Build-Namespace