Gets or sets the locale to use for the collation sequence when sorting data.
Visual Basic (Declaration) | |
---|---|
Public Property Collation As System.String |
C# | |
---|---|
public System.string Collation {get; set;} |
Property Value
A String indicating the locale to use for the collation sequence for sorting data.
If no Collation is specified, the application attempts to derive the collation setting by querying the data provider.
The default value is the application's locale settings if the data provider does not support that method or if it returns an unsupported or invalid value.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2