ScriptNameObjectBase.CheckTextCorrectness Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 ) |
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);
member this.CheckTextCorrectness : string * bool * bool * string[] * DdlTextParserHeaderInfo -> unit
Protected Sub CheckTextCorrectness (ddlText As String, enforceCreate As Boolean, checkName As Boolean, expectedObjectTypes As String(), ByRef headerInfo As DdlTextParserHeaderInfo)
Parameters
- ddlText
- String
- enforceCreate
- Boolean
- checkName
- Boolean
- expectedObjectTypes
- String[]
- headerInfo
- DdlTextParserHeaderInfo
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 |
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);
member this.CheckTextCorrectness : string * bool * bool * bool * string[] * DdlTextParserHeaderInfo -> unit
Protected Sub CheckTextCorrectness (ddlText As String, enforceCreate As Boolean, checkName As Boolean, isOrAlterSupported As Boolean, expectedObjectTypes As String(), ByRef headerInfo As DdlTextParserHeaderInfo)
Parameters
- ddlText
- String
- enforceCreate
- Boolean
- checkName
- Boolean
- isOrAlterSupported
- Boolean
- expectedObjectTypes
- String[]
- headerInfo
- DdlTextParserHeaderInfo
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 |