Any suggestions? Export (0) Print
Expand All

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

 

Checks text for correctness against the parameters.

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

Protected Sub CheckTextCorectness (
	ddlText As String,
	enforceCreate As Boolean,
	checkName As Boolean,
	expectedObjectTypes As String(),
	<OutAttribute> ByRef headerInfo As DdlTextParserHeaderInfo
)

Parameters

ddlText
Type: System.String

A string value that contains the data definition language text.

enforceCreate
Type: System.Boolean

A Boolean value that specifies whether to force creation even if target is incorrect.

checkName
Type: System.Boolean

A string value that specifies the expected name.

expectedObjectTypes
Type: System.String()

An array of strings that specify the expected object types.

headerInfo
Type: Microsoft.SqlServer.Management.Smo.DdlTextParserHeaderInfo

A pointer to DdlTextParserHeaderInfo.

Return to top
Show:
© 2016 Microsoft