ScriptNameObjectBase.CheckTextCorrectness Method

Definition

Overloads

CheckTextCorrectness(String, Boolean, Boolean, String[], DdlTextParserHeaderInfo)

checks text syntax, that it manipulates the right type of object ( PROC, TRIGGER, etc )

CheckTextCorrectness(String, Boolean, Boolean, Boolean, String[], DdlTextParserHeaderInfo)

checks text syntax, that it manipulates the right type of object ( PROC, TRIGGER, etc )

CheckTextCorrectness(String, Boolean, Boolean, String[], DdlTextParserHeaderInfo)

checks text syntax, that it manipulates the right type of object ( PROC, TRIGGER, etc )

C#
protected void CheckTextCorrectness(string ddlText, bool enforceCreate, bool checkName, string[] expectedObjectTypes, out Microsoft.SqlServer.Management.Smo.DdlTextParserHeaderInfo headerInfo);

Parameters

ddlText
String
enforceCreate
Boolean
checkName
Boolean
expectedObjectTypes
String[]

Applies to

Microsoft.SqlServer.SqlManagementObjects 160.2004021.0 and Microsoft.SqlServer.SqlManagementObjects 150.18208.0
Product Versions
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0

CheckTextCorrectness(String, Boolean, Boolean, Boolean, String[], DdlTextParserHeaderInfo)

checks text syntax, that it manipulates the right type of object ( PROC, TRIGGER, etc )

C#
protected void CheckTextCorrectness(string ddlText, bool enforceCreate, bool checkName, bool isOrAlterSupported, string[] expectedObjectTypes, out Microsoft.SqlServer.Management.Smo.DdlTextParserHeaderInfo headerInfo);

Parameters

ddlText
String
enforceCreate
Boolean
checkName
Boolean
isOrAlterSupported
Boolean
expectedObjectTypes
String[]

Applies to

Microsoft.SqlServer.SqlManagementObjects 160.2004021.0 and Microsoft.SqlServer.SqlManagementObjects 150.18208.0
Product Versions
Microsoft.SqlServer.SqlManagementObjects 150.18208.0, 160.2004021.0