Share via


CollationInfo.GetCollationInfo Method (ICollation)

Gets the CollationInfo object for the specified ICollation object.

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

Syntax

'Declaration
Public Shared Function GetCollationInfo ( _
    collation As ICollation _
) As CollationInfo
'Usage
Dim collation As ICollation
Dim returnValue As CollationInfo

returnValue = CollationInfo.GetCollationInfo(collation)
public static CollationInfo GetCollationInfo(
    ICollation collation
)
public:
static CollationInfo^ GetCollationInfo(
    ICollation^ collation
)
static member GetCollationInfo : 
        collation:ICollation -> CollationInfo 
public static function GetCollationInfo(
    collation : ICollation
) : CollationInfo

Parameters

Return Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.CollationInfo
A CollationInfo object.