DdlTextParserHeaderInfo Structure
SQL Server 2012
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)
The DdlTextParserHeaderInfo type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | database | Returns the database name, as extracted from the text header. |
![]() | databaseSecondary | Returns the database name, as extracted from inside the header. |
![]() | indexCreate | Returns a value that contains the index number in which the CREATE keyword begins in the script. |
![]() | indexNameEnd | Returns a value that contains the first index number after the script name declaration ends. |
![]() | indexNameEndSecondary | Returns a value that contains the first index number after an object name declaration within the text ends. |
![]() | indexNameStart | Returns a value that contains the first index number in which the script name is declared. |
![]() | indexNameStartSecondary | Returns the start index of an object that is used in the text. |
![]() | name | Contains the script name, as extracted from the scripts header. |
![]() | nameSecondary | Returns the name of the table inside the trigger text. |
![]() | objectType | Returns a string that contains the name of the text's object type. |
![]() | procedureNumber | Returns the texts procedure number, if the text is a procedure |
![]() | schema | Returns a string that contains the script schema. |
![]() | schemaSecondary | Returns the schema of the table inside the trigger text. |
![]() | scriptForCreate | Returns a value that indicates whether the script contains a CREATE keyword. |

.gif?cs-save-lang=1&cs-lang=vb)
.gif?cs-save-lang=1&cs-lang=vb)