Share via


CollationInfo.GetCollationInfo Method (String)

Gets the CollationInfo object that has the specified name.

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

Syntax

'Declaration
Public Shared Function GetCollationInfo ( _
    collationName As String _
) As CollationInfo
'Usage
Dim collationName As String
Dim returnValue As CollationInfo

returnValue = CollationInfo.GetCollationInfo(collationName)
public static CollationInfo GetCollationInfo(
    string collationName
)
public:
static CollationInfo^ GetCollationInfo(
    String^ collationName
)
static member GetCollationInfo : 
        collationName:string -> CollationInfo 
public static function GetCollationInfo(
    collationName : String
) : CollationInfo

Parameters

  • collationName
    Type: System.String
    The name of the collation to get.

Return Value

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