다음을 통해 공유


ApplicationDatabaseOptions.CollationName Property

Gets or sets the application database collation.

네임스페이스: Microsoft.SqlServer.Management.Nmo
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

구문

‘선언
Public Property CollationName As String
public string CollationName { get; set; }
public:
property String^ CollationName {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_CollationName ()

/** @property */
public void set_CollationName (String value)
public function get CollationName () : String

public function set CollationName (value : String)

속성 값

A String containing the Microsoft SQL Server or Microsoft Windows collation name.

주의

The CollationName property defines the character set and sort order for the application database. The value must conform to the SQL Servernvarchar data type and must be the name of a valid Windows or SQL Server collation.

If you do not provide a collation name, the application database collation is the same as the default collation of the 데이터베이스 엔진 instance that hosts the database.

The collation of all application databases in a Notification Services instance must match the collation of the instance database.

The following examples show how to set the application database collation:

adb.CollationName = "Latin1_General_CS_AS";
adb.CollationName = "Latin1_General_CS_AS"

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

ApplicationDatabaseOptions Class
ApplicationDatabaseOptions Members
Microsoft.SqlServer.Management.Nmo Namespace

관련 자료

응용 프로그램 데이터베이스 정의
CollationName Element (ADF)