Udostępnij za pośrednictwem


ScriptNameObjectBase.CheckTextCorectness Method

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

Syntax

'Deklaracja
Protected Sub CheckTextCorectness ( _
    ddlText As String, _
    enforceCreate As Boolean, _
    checkName As Boolean, _
    expectedObjectTypes As String(), _
    <OutAttribute> ByRef headerInfo As DdlTextParserHeaderInfo _
)
protected void CheckTextCorectness (
    string ddlText,
    bool enforceCreate,
    bool checkName,
    string[] expectedObjectTypes,
    out DdlTextParserHeaderInfo headerInfo
)
protected:
void CheckTextCorectness (
    String^ ddlText, 
    bool enforceCreate, 
    bool checkName, 
    array<String^>^ expectedObjectTypes, 
    [OutAttribute] DdlTextParserHeaderInfo% headerInfo
)
protected void CheckTextCorectness (
    String ddlText, 
    boolean enforceCreate, 
    boolean checkName, 
    String[] expectedObjectTypes, 
    /** @attribute OutAttribute() */ /** @ref */ DdlTextParserHeaderInfo headerInfo
)
JScript does not support passing value-type arguments by reference.

Parameters

  • ddlText
  • enforceCreate
  • checkName
  • expectedObjectTypes
  • headerInfo

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.