ScriptNameObjectBase.CheckTextCorectness Method

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

Syntax

'Declaration
Protected Sub CheckTextCorectness ( _
    ddlText As String, _
    enforceCreate As Boolean, _
    checkName As Boolean, _
    expectedObjectTypes As String(), _
    <OutAttribute> ByRef headerInfo As DdlTextParserHeaderInfo _
)
'Usage
Dim ddlText As String
Dim enforceCreate As Boolean
Dim checkName As Boolean
Dim expectedObjectTypes As String()
Dim headerInfo As DdlTextParserHeaderInfo

Me.CheckTextCorectness(ddlText, enforceCreate, _
    checkName, expectedObjectTypes, _
    headerInfo)
protected void CheckTextCorectness(
    string ddlText,
    bool enforceCreate,
    bool checkName,
    string[] expectedObjectTypes,
    out DdlTextParserHeaderInfo headerInfo
)
protected:
void CheckTextCorectness(
    String^ ddlText, 
    bool enforceCreate, 
    bool checkName, 
    array<String^>^ expectedObjectTypes, 
    [OutAttribute] DdlTextParserHeaderInfo% headerInfo
)
member CheckTextCorectness : 
        ddlText:string * 
        enforceCreate:bool * 
        checkName:bool * 
        expectedObjectTypes:string[] * 
        headerInfo:DdlTextParserHeaderInfo byref -> unit 
protected function CheckTextCorectness(
    ddlText : String, 
    enforceCreate : boolean, 
    checkName : boolean, 
    expectedObjectTypes : String[], 
    headerInfo : DdlTextParserHeaderInfo
)

Parameters