Share via


OdbcPermission.Add(String, String, KeyRestrictionBehavior) 메서드

정의

지정된 연결 문자열에 대한 액세스를 기존 사용 권한 상태에 추가합니다.

public:
 override void Add(System::String ^ connectionString, System::String ^ restrictions, System::Data::KeyRestrictionBehavior behavior);
public override void Add (string connectionString, string restrictions, System.Data.KeyRestrictionBehavior behavior);
override this.Add : string * string * System.Data.KeyRestrictionBehavior -> unit
Public Overrides Sub Add (connectionString As String, restrictions As String, behavior As KeyRestrictionBehavior)

매개 변수

connectionString
String

허용되는 연결 문자열입니다.

restrictions
String

허용되거나 허용되지 않는 연결 문자열 매개 변수를 식별하는 문자열입니다.

behavior
KeyRestrictionBehavior

KeyRestrictionBehavior 값 중 하나입니다.

설명

이 메서드는 다음을 구현할 때 유용할 수 있습니다.

  • .NET Framework 데이터 공급자입니다.

  • 데이터 액세스 권한을 어설션해야 하는 API입니다.

  • 보안 정책을 수정해야 하는 관리 도구 또는 설치 프로그램입니다.

적용 대상