다음을 통해 공유


DataConnectionProperties.RemoveProperty 메서드

기본적으로 인식 된 속성은 현재 속성의 컬렉션에서 제거합니다.

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

구문

‘선언
Protected Sub RemoveProperty ( _
    name As String _
)
protected void RemoveProperty(
    string name
)
protected:
void RemoveProperty(
    String^ name
)
member RemoveProperty : 
        name:string -> unit 
protected function RemoveProperty(
    name : String
)

매개 변수

  • name
    형식: System.String
    제거할 속성의 이름입니다.

예외

예외 조건
ArgumentNullException

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

설명

이 메서드는 또한 다른 모든 지정 된 속성 참조 동의어, 확장된 속성, 속성 설명자 컬렉션에서 제거합니다.

이 메서드는 Remove에 의해 호출됩니다.

.NET Framework 보안

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

참고 항목

참조

DataConnectionProperties 클래스

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

AddProperty

AddProperty