ScriptNameObjectBase.CheckTextCorectness Méthode

Définition

Vérifie le texte par rapport aux paramètres.

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)

Paramètres

ddlText
String

Texte du langage de définition de données.

enforceCreate
Boolean

true forcer la création même si la cible est incorrecte ; sinon, false.

checkName
Boolean

true pour vérifier le nom ; sinon, false.

expectedObjectTypes
String[]

Tableau de chaînes qui spécifie les types d'objet attendus.

headerInfo
DdlTextParserHeaderInfo

Informations d’en-tête.

S’applique à