Server.GetStringComparer 方法
Returns the comparer object corresponding to the collation string passed.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Function GetStringComparer ( _
collationName As String _
) As IComparer
用法
Dim instance As Server
Dim collationName As String
Dim returnValue As IComparer
returnValue = instance.GetStringComparer(collationName)
public IComparer GetStringComparer(
string collationName
)
public:
IComparer^ GetStringComparer(
String^ collationName
)
member GetStringComparer :
collationName:string -> IComparer
public function GetStringComparer(
collationName : String
) : IComparer
参数
- collationName
类型:System.String
The name of the collation.
返回值
类型:System.Collections.IComparer
The comparer object corresponding to the collation string passed.
注释
T:Microsoft.SqlServer.Management.Smo.AffinityInfo