다음을 통해 공유


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[]
)

매개 변수

  • attributes
    형식: array<System.Attribute[]
    추가 하거나 수정 해야 하는 특성 집합입니다.

예외

예외 조건
ArgumentNullException

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

설명

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

.NET Framework 보안

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

참고 항목

참조

DataConnectionProperties 클래스

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