Поделиться через


Метод GetCollationInfo (Int32, CompareOptions)

Gets the CollationInfo object for the specified culture identifier and comparison options.

Пространство имен:  Microsoft.SqlServer.Management.SqlParser.Metadata
Сборка:  Microsoft.SqlServer.Management.SqlParser (в Microsoft.SqlServer.Management.SqlParser.dll)

Синтаксис

'Декларация
Public Shared Function GetCollationInfo ( _
    lcid As Integer, _
    compareOptions As CompareOptions _
) As CollationInfo
'Применение
Dim lcid As Integer
Dim compareOptions As CompareOptions
Dim returnValue As CollationInfo

returnValue = CollationInfo.GetCollationInfo(lcid, _
    compareOptions)
public static CollationInfo GetCollationInfo(
    int lcid,
    CompareOptions compareOptions
)
public:
static CollationInfo^ GetCollationInfo(
    int lcid, 
    CompareOptions compareOptions
)
static member GetCollationInfo : 
        lcid:int * 
        compareOptions:CompareOptions -> CollationInfo 
public static function GetCollationInfo(
    lcid : int, 
    compareOptions : CompareOptions
) : CollationInfo

Параметры

Возвращаемое значение

Тип: Microsoft.SqlServer.Management.SqlParser.Metadata. . :: . .CollationInfo
A CollationInfo object.

Замечания

Returns null if collation information is not found.