DatabaseTaskHost.SetValue 메서드

속성의 현재 값을 설정합니다.

네임스페이스:  Microsoft.Data.Schema.Build
어셈블리:  Microsoft.Data.Schema(Microsoft.Data.Schema.dll)

구문

‘선언
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

매개 변수

  • defaultUsed
    형식: System.Boolean%
    이 속성에 기본값이 사용되었는지 여부를 지정합니다.

반환 값

형식: System.Boolean
성공적으로 설정되었으면 true를 반환합니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

DatabaseTaskHost 클래스

Microsoft.Data.Schema.Build 네임스페이스