Partager via


Propriété DataItem.Collation

Gets or sets the collation definition for the current DataItem.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.CollationTypeConverter, Microsoft.AnalysisServices.Design")> _
Public Property Collation As String 
    Get 
    Set
'Utilisation
Dim instance As DataItem 
Dim value As String 

value = instance.Collation

instance.Collation = value
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.CollationTypeConverter, Microsoft.AnalysisServices.Design")]
public string Collation { get; set; }
[TypeConverterAttribute(L"Microsoft.AnalysisServices.Design.CollationTypeConverter, Microsoft.AnalysisServices.Design")]
public:
property String^ Collation {
    String^ get ();
    void set (String^ value);
}
[<TypeConverterAttribute("Microsoft.AnalysisServices.Design.CollationTypeConverter, Microsoft.AnalysisServices.Design")>]
member Collation : string with get, set
function get Collation () : String 
function set Collation (value : String)

Valeur de propriété

Type : System.String
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)

Voir aussi

Référence

DataItem Classe

Espace de noms Microsoft.AnalysisServices