DataItem.Collation Property

現在の DataItem の照合順序定義を取得します。値の設定も可能です。

名前空間: Microsoft.AnalysisServices
アセンブリ: Microsoft.AnalysisServices (microsoft.analysisservices.dll 内)

構文

'宣言
<XmlElementAttribute(IsNullable:=False)> _
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.CollationTypeConverter, Microsoft.AnalysisServices.Design")> _
<EditorAttribute("Microsoft.AnalysisServices.Design.CollationPropertyTypeEditor, Microsoft.AnalysisServices.Design", GetType(UITypeEditor))> _
Public Property Collation As String
[XmlElementAttribute(IsNullable=false)] 
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.CollationTypeConverter, Microsoft.AnalysisServices.Design")] 
[EditorAttribute("Microsoft.AnalysisServices.Design.CollationPropertyTypeEditor, Microsoft.AnalysisServices.Design", typeof(UITypeEditor))] 
public string Collation { get; set; }
[XmlElementAttribute(IsNullable=false)] 
[TypeConverterAttribute(L"Microsoft.AnalysisServices.Design.CollationTypeConverter, Microsoft.AnalysisServices.Design")] 
[EditorAttribute(L"Microsoft.AnalysisServices.Design.CollationPropertyTypeEditor, Microsoft.AnalysisServices.Design", typeof(UITypeEditor))] 
public:
property String^ Collation {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Collation ()

/** @property */
public void set_Collation (String value)
public function get Collation () : String

public function set Collation (value : String)

プロパティ値

ロケール ID、アンダースコア (_)、および文字比較定義フラグが含まれた System.String です。

解説

照合順序定義は、ロケール ID 文字列と文字比較定義フラグから構成されます。

次の表では、文字比較定義フラグについて説明します。

バイナリ

_BIN

バイナリ 2

_BIN2

大文字と小文字を区別する

_CS

大文字と小文字を区別しない

_CI

アクセントを区別する

_AS

アクセントを区別しない

_AI

かなを区別する

_KS

文字幅を区別する

_WS

比較フラグの詳細については、「Windows 照合順序名 (Transact-SQL)」を参照してください。

スレッド セーフ

この型の public static (Microsoft Visual Basic では共有 ) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

DataItem Class
DataItem Members
Microsoft.AnalysisServices Namespace