Partager via


DataItem.Collation Property

Gets or sets the collation definition for the current DataItem.

Espace de noms: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntaxe

'Déclaration
<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)

Valeur de propriété

A System.String with the Locale Id, underscore (_), and character comparison definition flag.

Notes

Collation definition is composed of Locale Id string and the character comparison definition flag.

Character comparison definition flags are described in the following table.

binary

_BIN

binary2

_BIN2

case sensitive

_CS

case insensitive

_CI

accent sensitive

_AS

accent insensitive

_AI

kana-sensitive

_KS

width-sensitive

_WS

For a detailed explanation about comparison flags, see Nom de classement Windows (Transact-SQL)

Sécurité des threads

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.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

DataItem Class
DataItem Members
Microsoft.AnalysisServices Namespace