Share via


IDatabase.CollationInfo Property

Gets the collation that is used by the database.

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

Syntax

'Declaration
ReadOnly Property CollationInfo As CollationInfo
    Get
'Usage
Dim instance As IDatabase
Dim value As CollationInfo

value = instance.CollationInfo
CollationInfo CollationInfo { get; }
property CollationInfo^ CollationInfo {
    CollationInfo^ get ();
}
abstract CollationInfo : CollationInfo
function get CollationInfo () : CollationInfo

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.CollationInfo
A CollationInfo object that represents the database collation.