DataConnectionProperties.ModifyProperty 메서드

기존 속성을 수정 합니다. 현재 DataConnectionProperties 인스턴스는 기본적으로 인식 합니다.

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

구문

‘선언
Protected Sub ModifyProperty ( _
    name As String, _
    ParamArray attributes As Attribute() _
)
protected void ModifyProperty(
    string name,
    params Attribute[] attributes
)
protected:
void ModifyProperty(
    String^ name, 
    ... array<Attribute^>^ attributes
)
member ModifyProperty : 
        name:string * 
        attributes:Attribute[] -> unit
protected function ModifyProperty(
    name : String, 
    ... attributes : Attribute[]
)

매개 변수

  • name
    형식: String

    속성 이름입니다.

  • attributes
    형식: array<Attribute[]

    추가 하거나 수정 해야 하는 특성 집합입니다.

예외

예외 조건
ArgumentNullException

name 매개 변수가 nullNull 참조(Visual Basic의 경우 Nothing)인 경우

설명

이 메서드를 사용 하면 기존 속성과 관련 된 속성을 변경 합니다. 예를 들어, 경우에 따라 하나의 속성이 다른 속성에 설정 된 값에 따라 읽기 전용으로 설정 하는 데 필요한 수 있습니다. 이 두 번째 속성이 업데이트 될 때 데이터 공급자를 호출 하는 ModifyProperty 전달 하는 메서드는 ReadOnlyAttribute 올바른 값으로.

.NET Framework 보안

참고 항목

참조

DataConnectionProperties 클래스

Microsoft.VisualStudio.Data.Framework 네임스페이스