Freigeben über


CollationInfo-Klasse

Provides information about a specific database collation.

Vererbungshierarchie

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

Der CollationInfo-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche EigenschaftStatisches Element Collations Gets a collection of supported collations.
Öffentliche Eigenschaft Comparer Gets an IComparer<(Of <(<'T>)>)> object that can be used to compare strings.
Öffentliche EigenschaftStatisches Element Default Gets an instance of CollationInfo that represents the default collation. The default collation is 'SQL_Latin1_General_CP1_CI_AS'.
Öffentliche Eigenschaft EqualityComparer Gets an IEqualityComparer<(Of <(<'T>)>)> object that can be used to compare strings for equality.
Öffentliche Eigenschaft Name Gets the name of the collation.
Öffentliche EigenschaftStatisches Element Ordinal Gets the CollationInfo object that internally performs case-sensitive ordinal string comparisons.
Öffentliche EigenschaftStatisches Element OrdinalIgnoreCase Gets the CollationInfo object that internally performs case-insensitive ordinal string comparisons.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche MethodeStatisches Element GetCollationInfo(String) Gets the CollationInfo object that has the specified name.
Öffentliche MethodeStatisches Element GetCollationInfo(ICollation) Gets the CollationInfo object for the specified ICollation object.
Öffentliche MethodeStatisches Element GetCollationInfo(Int32, CompareOptions) Gets the CollationInfo object for the specified culture identifier and comparison options.
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode IsPrefix Determines whether the specified source string starts with the specified prefix.
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString Returns a string representation of the current object. (Überschreibt Object. . :: . .ToString() () () ().)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode IMetadataObject. . :: . .Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object.

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.