Export (0) Print
Expand All

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)

'Declaration
Public Structure DdlTextParserHeaderInfo
'Usage
Dim instance As DdlTextParserHeaderInfo

The DdlTextParserHeaderInfo type exposes the following members.

  NameDescription
Public methodEquals (Inherited from ValueType.)
Public methodGetHashCode (Inherited from ValueType.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from ValueType.)
Top

  NameDescription
Public fielddatabaseReturns the database name, as extracted from the text header.
Public fielddatabaseSecondaryReturns the database name, as extracted from inside the header.
Public fieldindexCreateReturns a value that contains the index number in which the CREATE keyword begins in the script.
Public fieldindexNameEndReturns a value that contains the first index number after the script name declaration ends.
Public fieldindexNameEndSecondaryReturns a value that contains the first index number after an object name declaration within the text ends.
Public fieldindexNameStartReturns a value that contains the first index number in which the script name is declared.
Public fieldindexNameStartSecondaryReturns the start index of an object that is used in the text.
Public fieldnameContains the script name, as extracted from the scripts header.
Public fieldnameSecondaryReturns the name of the table inside the trigger text.
Public fieldobjectTypeReturns a string that contains the name of the text's object type.
Public fieldprocedureNumberReturns the texts procedure number, if the text is a procedure
Public fieldschemaReturns a string that contains the script schema.
Public fieldschemaSecondaryReturns the schema of the table inside the trigger text.
Public fieldscriptForCreateReturns a value that indicates whether the script contains a CREATE keyword.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft