Delen via


SqlSmoObject.CheckCollation Method

Checks the order of the scripting options by the collation method identified by the collationName parameter.

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

Syntax

'Declaration
Protected Sub CheckCollation ( _
    collationName As String, _
    so As ScriptingOptions _
)
'Usage
Dim collationName As String
Dim so As ScriptingOptions

Me.CheckCollation(collationName, _
    so)
protected void CheckCollation(
    string collationName,
    ScriptingOptions so
)
protected:
void CheckCollation(
    String^ collationName, 
    ScriptingOptions^ so
)
member CheckCollation : 
        collationName:string * 
        so:ScriptingOptions -> unit 
protected function CheckCollation(
    collationName : String, 
    so : ScriptingOptions
)

Parameters

  • collationName
    Type: System.String
    A string value that specifies the name of the collation method.