Dela via


DdlTextParserHeaderInfo Structure

This class supports the SMO infrastructure and is not intended to be used directly from your code.

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

Syntax

'Declaration
Public Structure DdlTextParserHeaderInfo
'Usage
Dim instance As DdlTextParserHeaderInfo
public struct DdlTextParserHeaderInfo
public value class DdlTextParserHeaderInfo
[<SealedAttribute>]
type DdlTextParserHeaderInfo =  struct end
JScript suports the use of structures, but not the declaration of new ones.

The DdlTextParserHeaderInfo type exposes the following members.

Methods

  Name Description
Public method Equals (Inherited from ValueType.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from ValueType.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from ValueType.)

Top

Fields

  Name Description
Public field database Returns the database name, as extracted from the text header.
Public field databaseSecondary Returns the database name, as extracted from inside the header.
Public field indexCreate Returns a value that contains the index number in which the CREATE keyword begins in the script.
Public field indexNameEnd Returns a value that contains the first index number after the script name declaration ends.
Public field indexNameEndSecondary Returns a value that contains the first index number after an object name declaration within the text ends.
Public field indexNameStart Returns a value that contains the first index number in which the script name is declared.
Public field indexNameStartSecondary Returns the start index of an object that is used in the text.
Public field name Contains the script name, as extracted from the scripts header.
Public field nameSecondary Returns the name of the table inside the trigger text.
Public field objectType Returns a string that contains the name of the text's object type.
Public field procedureNumber Returns the texts procedure number, if the text is a procedure
Public field schema Returns a string that contains the script schema.
Public field schemaSecondary Returns the schema of the table inside the trigger text.
Public field scriptForCreate Returns a value that indicates whether the script contains a CREATE keyword.

Top

Thread Safety

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