Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Gets or sets the application database collation.
Espace de noms: Microsoft.SqlServer.Management.Nmo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntaxe
'Déclaration
Public Property CollationName As String
public string CollationName { get; set; }
public:
property String^ CollationName {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_CollationName ()
/** @property */
public void set_CollationName (String value)
public function get CollationName () : String
public function set CollationName (value : String)
Valeur de propriété
A String containing the Microsoft SQL Server or Microsoft Windows collation name.
Notes
The CollationName property defines the character set and sort order for the application database. The value must conform to the SQL Servernvarchar data type and must be the name of a valid Windows or SQL Server collation.
If you do not provide a collation name, the application database collation is the same as the default collation of the Moteur de base de données instance that hosts the database.
The collation of all application databases in a Notification Services instance must match the collation of the instance database.
Exemple
The following examples show how to set the application database collation:
adb.CollationName = "Latin1_General_CS_AS";
adb.CollationName = "Latin1_General_CS_AS"
Sécurité des threads
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
ApplicationDatabaseOptions Class
ApplicationDatabaseOptions Members
Microsoft.SqlServer.Management.Nmo Namespace
Autres ressources
Définition de la base de données d'application
CollationName Element (ADF)