다음을 통해 공유


IDbCollationProperties.GetCollationProperties 메서드

정의

열에 사용되는 데이터 정렬 속성을 반환합니다.

public:
 bool GetCollationProperties([Runtime::InteropServices::Out] System::String ^ % cultureName, [Runtime::InteropServices::Out] bool % caseSensitive, [Runtime::InteropServices::Out] bool % accentSensitive, [Runtime::InteropServices::Out] bool % kanatypeSensitive, [Runtime::InteropServices::Out] bool % widthSensitive);
public bool GetCollationProperties (out string cultureName, out bool caseSensitive, out bool accentSensitive, out bool kanatypeSensitive, out bool widthSensitive);
abstract member GetCollationProperties : string * bool * bool * bool * bool -> bool
Public Function GetCollationProperties (ByRef cultureName As String, ByRef caseSensitive As Boolean, ByRef accentSensitive As Boolean, ByRef kanatypeSensitive As Boolean, ByRef widthSensitive As Boolean) As Boolean

매개 변수

cultureName
String

데이터 정렬에 사용할 culture의 이름입니다.

caseSensitive
Boolean

데이터 정렬이 대/소문자를 구분함을 나타냅니다.

accentSensitive
Boolean

데이터 정렬이 악센트를 구분함을 나타냅니다.

kanatypeSensitive
Boolean

데이터 정렬이 가나 형식을 구분함을 나타냅니다.

widthSensitive
Boolean

데이터 정렬이 전자/반자를 구분함을 나타냅니다.

반환

현재 연결에 대해 데이터 정렬 속성을 검색할 수 있으면 true를 반환합니다.

설명

이 메서드는 연결에 사용되는 데이터 정렬 속성을 반환합니다. 이러한 속성 값은 자동 검색된 데이터 정렬 속성을 요청하는 보고서에서 사용할 수 있습니다.

데이터 처리 확장 프로그램은 기본 데이터 정렬 속성을 결정하기 위해 데이터 원본에 대해 하나 이상의 쿼리를 실행해야 합니다. 데이터 확장 프로그램 내에서 쿼리를 실행하려면 트랜잭션을 고려해야 합니다. 일부 관리되는 데이터 공급자의 경우 명령을 사용하여 CreateCommand만든 경우에도 연결이 트랜잭션에 있는 경우 명령의 트랜잭션 속성을 명시적으로 설정해야 합니다. 이렇게 하려면 호출될 때 BeginTransaction 트랜잭션을 캐시하고 트랜잭션을 Commit 해제하거나 Rollback해제해야 합니다.

적용 대상