Export (0) Print
Expand All

CollationInfo Class

Provides information about a specific database collation.


Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

public class CollationInfo : ICollation, 

The CollationInfo type exposes the following members.

Public propertyStatic memberCollationsGets a collection of supported collations.
Public propertyComparerGets an IComparer object that can be used to compare strings.
Public propertyStatic memberDefaultGets an instance of CollationInfo that represents the default collation. The default collation is 'SQL_Latin1_General_CP1_CI_AS'.
Public propertyEqualityComparerGets an IEqualityComparer object that can be used to compare strings for equality.
Public propertyNameGets the name of the collation.
Public propertyStatic memberOrdinalGets the CollationInfo object that internally performs case-sensitive ordinal string comparisons.
Public propertyStatic memberOrdinalIgnoreCaseGets the CollationInfo object that internally performs case-insensitive ordinal string comparisons.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberGetCollationInfo(String)Gets the CollationInfo object that has the specified name.
Public methodStatic memberGetCollationInfo(ICollation)Gets the CollationInfo object for the specified ICollation object.
Public methodStatic memberGetCollationInfo(Int32, CompareOptions)Gets the CollationInfo object for the specified culture identifier and comparison options.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIsPrefixDetermines whether the specified source string starts with the specified prefix.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a string representation of the current object. (Overrides ObjectToString.)

Explicit interface implemetationPrivate methodIMetadataObject.Accept<T>Accepts a visit from the specified IMetadataObjectVisitor<T> object.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft