Server.GetStringComparer Method

Gets an IComparer interface.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function GetStringComparer ( _
    collationName As String _
) As IComparer
'Usage
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

Parameters

Remarks

T:Microsoft.SqlServer.Management.Smo. AffinityInfo