Partager via


Classe CollationInfo

Provides information about a specific database collation.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.SqlServer.Management.SqlParser.Metadata..::..CollationInfo

Espace de noms :  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly :  Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)

Syntaxe

'Déclaration
Public Class CollationInfo _
    Implements ICollation, IMetadataObject
'Utilisation
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

Le type CollationInfo expose les membres suivants.

Propriétés

  Nom Description
Propriété publiqueMembre statique Collations Gets a collection of supported collations.
Propriété publique Comparer Gets an IComparer<(Of <(<'T>)>)> object that can be used to compare strings.
Propriété publiqueMembre statique Default Gets an instance of CollationInfo that represents the default collation. The default collation is 'SQL_Latin1_General_CP1_CI_AS'.
Propriété publique EqualityComparer Gets an IEqualityComparer<(Of <(<'T>)>)> object that can be used to compare strings for equality.
Propriété publique Name Gets the name of the collation.
Propriété publiqueMembre statique Ordinal Gets the CollationInfo object that internally performs case-sensitive ordinal string comparisons.
Propriété publiqueMembre statique OrdinalIgnoreCase Gets the CollationInfo object that internally performs case-insensitive ordinal string comparisons.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publiqueMembre statique GetCollationInfo(String) Gets the CollationInfo object that has the specified name.
Méthode publiqueMembre statique GetCollationInfo(ICollation) Gets the CollationInfo object for the specified ICollation object.
Méthode publiqueMembre statique GetCollationInfo(Int32, CompareOptions) Gets the CollationInfo object for the specified culture identifier and comparison options.
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique IsPrefix Determines whether the specified source string starts with the specified prefix.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString Returns a string representation of the current object. (remplace Object. . :: . .ToString() () () ().)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée IMetadataObject. . :: . .Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object.

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.