ScriptNameObjectBase.CheckTextCorectness Metodo

Definizione

Verifica la correttezza del testo rispetto ai parametri.

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);
member this.CheckTextCorectness : string * bool * bool * string[] * DdlTextParserHeaderInfo -> unit
Protected Sub CheckTextCorectness (ddlText As String, enforceCreate As Boolean, checkName As Boolean, expectedObjectTypes As String(), ByRef headerInfo As DdlTextParserHeaderInfo)

Parametri

ddlText
String

Testo della lingua della definizione dei dati.

enforceCreate
Boolean

true per forzare la creazione anche se la destinazione non è corretta; in caso contrario, false.

checkName
Boolean

true per controllare il nome; in caso contrario, false.

expectedObjectTypes
String[]

Matrice di stringhe che specifica i tipi di oggetti previsti.

headerInfo
DdlTextParserHeaderInfo

Informazioni sull'intestazione.

Si applica a