Export (0) Print
Expand All

ScriptNameObjectBase.CheckTextCorectness Method

Checks text for correctness against the parameters.

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

'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)

Parameters

ddlText
Type: String
A string value that contains the data definition language text.
enforceCreate
Type: Boolean
A Boolean value that specifies whether to force creation even if target is incorrect.
checkName
Type: Boolean
A string value that specifies the expected name.
expectedObjectTypes
Type: String()
An array of strings that specify the expected object types.
headerInfo
Type: Microsoft.SqlServer.Management.Smo.DdlTextParserHeaderInfo
A pointer to DdlTextParserHeaderInfo.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft