ScriptNameObjectBase.CheckTextCorectness 메서드

정의

매개변수와 대비한 텍스트의 정확성을 확인합니다.

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)

매개 변수

ddlText
String

데이터 정의 언어 텍스트.

enforceCreate
Boolean

true 목표가 틀렸더라도 강제 생성; 그렇지 않으면, false.

checkName
Boolean

true 이름을 확인하려고; 그렇지 않으면, false.

expectedObjectTypes
String[]

기대되는 객체 유형을 지정하는 문자열 배열입니다.

headerInfo
DdlTextParserHeaderInfo

헤더 정보입니다.

적용 대상