ScriptNameObjectBase.CheckTextCorectness(String, Boolean, Boolean, String[], DdlTextParserHeaderInfo) ScriptNameObjectBase.CheckTextCorectness(String, Boolean, Boolean, String[], DdlTextParserHeaderInfo) ScriptNameObjectBase.CheckTextCorectness(String, Boolean, Boolean, String[], DdlTextParserHeaderInfo) Method

Definition

Checks text for correctness against the parameters.

protected:
 void CheckTextCorectness(System::String ^ ddlText, bool enforceCreate, bool checkName, cli::array <System::String ^> ^ expectedObjectTypes, [Runtime::InteropServices::Out] Microsoft::SqlServer::Management::Smo::DdlTextParserHeaderInfo % headerInfo);
protected void CheckTextCorectness (string ddlText, bool enforceCreate, bool checkName, string[] expectedObjectTypes, out Microsoft.SqlServer.Management.Smo.DdlTextParserHeaderInfo headerInfo);
Protected Sub CheckTextCorectness (ddlText As String, enforceCreate As Boolean, checkName As Boolean, expectedObjectTypes As String(), ByRef headerInfo As DdlTextParserHeaderInfo)
Parameters
ddlText
String String String

The data definition language text.

enforceCreate
Boolean Boolean Boolean

true to force creation even if target is incorrect; otherwise, false.

checkName
Boolean Boolean Boolean

true to check the name; otherwise, false.

expectedObjectTypes
String[]

An array of strings that specify the expected object types.

Applies to