CollationInfo Class
Provides information about a specific database collation.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.SqlParser.Metadata.CollationInfo
Namespace: Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Class CollationInfo _
Implements ICollation, IMetadataObject
'Usage
Dim instance As CollationInfo
public class CollationInfo : ICollation,
IMetadataObject
public ref class CollationInfo : ICollation,
IMetadataObject
type CollationInfo =
class
interface ICollation
interface IMetadataObject
end
public class CollationInfo implements ICollation, IMetadataObject
The CollationInfo type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]() ![]() |
Collations | Gets a collection of supported collations. |
![]() |
Comparer | Gets an IComparer<T> object that can be used to compare strings. |
![]() ![]() |
Default | Gets an instance of CollationInfo that represents the default collation. The default collation is 'SQL_Latin1_General_CP1_CI_AS'. |
![]() |
EqualityComparer | Gets an IEqualityComparer<T> object that can be used to compare strings for equality. |
![]() |
Name | Gets the name of the collation. |
![]() ![]() |
Ordinal | Gets the CollationInfo object that internally performs case-sensitive ordinal string comparisons. |
![]() ![]() |
OrdinalIgnoreCase | Gets the CollationInfo object that internally performs case-insensitive ordinal string comparisons. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() ![]() |
GetCollationInfo(String) | Gets the CollationInfo object that has the specified name. |
![]() ![]() |
GetCollationInfo(ICollation) | Gets the CollationInfo object for the specified ICollation object. |
![]() ![]() |
GetCollationInfo(Int32, CompareOptions) | Gets the CollationInfo object for the specified culture identifier and comparison options. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
IsPrefix | Determines whether the specified source string starts with the specified prefix. |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | Returns a string representation of the current object. (Overrides Object.ToString().) |
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
![]() ![]() |
IMetadataObject.Accept<T> | Accepts a visit from the specified IMetadataObjectVisitor<T> object. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)