TSqlFragment Class

 

Represents a token fragment.

Namespace:   Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.AddFileSpec
    Microsoft.SqlServer.TransactSql.ScriptDom.AdHocDataSource
    Microsoft.SqlServer.TransactSql.ScriptDom.AlterAvailabilityGroupAction
    Microsoft.SqlServer.TransactSql.ScriptDom.AlterAvailabilityGroupFailoverOption
    Microsoft.SqlServer.TransactSql.ScriptDom.AlterDatabaseTermination
    Microsoft.SqlServer.TransactSql.ScriptDom.AlterFullTextIndexAction
    Microsoft.SqlServer.TransactSql.ScriptDom.AlterRoleAction
    Microsoft.SqlServer.TransactSql.ScriptDom.AlterServerConfigurationBufferPoolExtensionOption
    Microsoft.SqlServer.TransactSql.ScriptDom.AlterServerConfigurationDiagnosticsLogOption
    Microsoft.SqlServer.TransactSql.ScriptDom.AlterServerConfigurationFailoverClusterPropertyOption
    Microsoft.SqlServer.TransactSql.ScriptDom.AlterServerConfigurationHadrClusterOption
    Microsoft.SqlServer.TransactSql.ScriptDom.AlterTableDropTableElement
    Microsoft.SqlServer.TransactSql.ScriptDom.ApplicationRoleOption
    Microsoft.SqlServer.TransactSql.ScriptDom.AssemblyName
    Microsoft.SqlServer.TransactSql.ScriptDom.AssemblyOption
    Microsoft.SqlServer.TransactSql.ScriptDom.AtomicBlockOption
    Microsoft.SqlServer.TransactSql.ScriptDom.AuditOption
    Microsoft.SqlServer.TransactSql.ScriptDom.AuditSpecificationDetail
    Microsoft.SqlServer.TransactSql.ScriptDom.AuditSpecificationPart
    Microsoft.SqlServer.TransactSql.ScriptDom.AuditTarget
    Microsoft.SqlServer.TransactSql.ScriptDom.AuditTargetOption
    Microsoft.SqlServer.TransactSql.ScriptDom.AvailabilityGroupOption
    Microsoft.SqlServer.TransactSql.ScriptDom.AvailabilityReplica
    Microsoft.SqlServer.TransactSql.ScriptDom.AvailabilityReplicaOption
    Microsoft.SqlServer.TransactSql.ScriptDom.BackupOption
    Microsoft.SqlServer.TransactSql.ScriptDom.BackupRestoreFileInfo
    Microsoft.SqlServer.TransactSql.ScriptDom.BooleanExpression
    Microsoft.SqlServer.TransactSql.ScriptDom.BoundingBoxParameter
    Microsoft.SqlServer.TransactSql.ScriptDom.BrokerPriorityParameter
    Microsoft.SqlServer.TransactSql.ScriptDom.BulkInsertOption
    Microsoft.SqlServer.TransactSql.ScriptDom.CallTarget
    Microsoft.SqlServer.TransactSql.ScriptDom.CertificateOption
    Microsoft.SqlServer.TransactSql.ScriptDom.ChangeTrackingOptionDetail
    Microsoft.SqlServer.TransactSql.ScriptDom.ColumnDefinitionBase
    Microsoft.SqlServer.TransactSql.ScriptDom.ColumnStorageOptions
    Microsoft.SqlServer.TransactSql.ScriptDom.ColumnWithSortOrder
    Microsoft.SqlServer.TransactSql.ScriptDom.CommonTableExpression
    Microsoft.SqlServer.TransactSql.ScriptDom.CompressionPartitionRange
    Microsoft.SqlServer.TransactSql.ScriptDom.ComputeClause
    Microsoft.SqlServer.TransactSql.ScriptDom.ComputeFunction
    Microsoft.SqlServer.TransactSql.ScriptDom.ConstraintDefinition
    Microsoft.SqlServer.TransactSql.ScriptDom.ContractMessage
    Microsoft.SqlServer.TransactSql.ScriptDom.CreateLoginSource
    Microsoft.SqlServer.TransactSql.ScriptDom.CryptoMechanism
    Microsoft.SqlServer.TransactSql.ScriptDom.CursorDefinition
    Microsoft.SqlServer.TransactSql.ScriptDom.CursorId
    Microsoft.SqlServer.TransactSql.ScriptDom.CursorOption
    Microsoft.SqlServer.TransactSql.ScriptDom.DatabaseAuditAction
    Microsoft.SqlServer.TransactSql.ScriptDom.DatabaseOption
    Microsoft.SqlServer.TransactSql.ScriptDom.DataModificationSpecification
    Microsoft.SqlServer.TransactSql.ScriptDom.DataTypeReference
    Microsoft.SqlServer.TransactSql.ScriptDom.DbccNamedLiteral
    Microsoft.SqlServer.TransactSql.ScriptDom.DbccOption
    Microsoft.SqlServer.TransactSql.ScriptDom.DeclareTableVariableBody
    Microsoft.SqlServer.TransactSql.ScriptDom.DeclareVariableElement
    Microsoft.SqlServer.TransactSql.ScriptDom.DeviceInfo
    Microsoft.SqlServer.TransactSql.ScriptDom.DialogOption
    Microsoft.SqlServer.TransactSql.ScriptDom.DiskStatementOption
    Microsoft.SqlServer.TransactSql.ScriptDom.DropClusteredConstraintOption
    Microsoft.SqlServer.TransactSql.ScriptDom.DropIndexClauseBase
    Microsoft.SqlServer.TransactSql.ScriptDom.EncryptionSource
    Microsoft.SqlServer.TransactSql.ScriptDom.EndpointAffinity
    Microsoft.SqlServer.TransactSql.ScriptDom.EndpointProtocolOption
    Microsoft.SqlServer.TransactSql.ScriptDom.EventDeclaration
    Microsoft.SqlServer.TransactSql.ScriptDom.EventDeclarationSetParameter
    Microsoft.SqlServer.TransactSql.ScriptDom.EventNotificationObjectScope
    Microsoft.SqlServer.TransactSql.ScriptDom.EventSessionObjectName
    Microsoft.SqlServer.TransactSql.ScriptDom.EventTypeGroupContainer
    Microsoft.SqlServer.TransactSql.ScriptDom.ExecutableEntity
    Microsoft.SqlServer.TransactSql.ScriptDom.ExecuteAsClause
    Microsoft.SqlServer.TransactSql.ScriptDom.ExecuteContext
    Microsoft.SqlServer.TransactSql.ScriptDom.ExecuteOption
    Microsoft.SqlServer.TransactSql.ScriptDom.ExecuteParameter
    Microsoft.SqlServer.TransactSql.ScriptDom.ExecuteSpecification
    Microsoft.SqlServer.TransactSql.ScriptDom.ExpressionWithSortOrder
    Microsoft.SqlServer.TransactSql.ScriptDom.FederationScheme
    Microsoft.SqlServer.TransactSql.ScriptDom.FetchType
    Microsoft.SqlServer.TransactSql.ScriptDom.FileDeclaration
    Microsoft.SqlServer.TransactSql.ScriptDom.FileDeclarationOption
    Microsoft.SqlServer.TransactSql.ScriptDom.FileGroupDefinition
    Microsoft.SqlServer.TransactSql.ScriptDom.FileGroupOrPartitionScheme
    Microsoft.SqlServer.TransactSql.ScriptDom.ForClause
    Microsoft.SqlServer.TransactSql.ScriptDom.FromClause
    Microsoft.SqlServer.TransactSql.ScriptDom.FullTextCatalogAndFileGroup
    Microsoft.SqlServer.TransactSql.ScriptDom.FullTextCatalogOption
    Microsoft.SqlServer.TransactSql.ScriptDom.FullTextIndexColumn
    Microsoft.SqlServer.TransactSql.ScriptDom.FullTextIndexOption
    Microsoft.SqlServer.TransactSql.ScriptDom.FullTextStopListAction
    Microsoft.SqlServer.TransactSql.ScriptDom.FunctionOption
    Microsoft.SqlServer.TransactSql.ScriptDom.FunctionReturnType
    Microsoft.SqlServer.TransactSql.ScriptDom.GridParameter
    Microsoft.SqlServer.TransactSql.ScriptDom.GroupByClause
    Microsoft.SqlServer.TransactSql.ScriptDom.GroupingSpecification
    Microsoft.SqlServer.TransactSql.ScriptDom.HavingClause
    Microsoft.SqlServer.TransactSql.ScriptDom.Identifier
    Microsoft.SqlServer.TransactSql.ScriptDom.IdentifierOrValueExpression
    Microsoft.SqlServer.TransactSql.ScriptDom.IdentityOptions
    Microsoft.SqlServer.TransactSql.ScriptDom.IndexOption
    Microsoft.SqlServer.TransactSql.ScriptDom.IndexType
    Microsoft.SqlServer.TransactSql.ScriptDom.InsertBulkColumnDefinition
    Microsoft.SqlServer.TransactSql.ScriptDom.InsertSource
    Microsoft.SqlServer.TransactSql.ScriptDom.IPv4
    Microsoft.SqlServer.TransactSql.ScriptDom.KeyOption
    Microsoft.SqlServer.TransactSql.ScriptDom.LiteralRange
    Microsoft.SqlServer.TransactSql.ScriptDom.LowPriorityLockWaitOption
    Microsoft.SqlServer.TransactSql.ScriptDom.MergeAction
    Microsoft.SqlServer.TransactSql.ScriptDom.MergeActionClause
    Microsoft.SqlServer.TransactSql.ScriptDom.MethodSpecifier
    Microsoft.SqlServer.TransactSql.ScriptDom.MirrorToClause
    Microsoft.SqlServer.TransactSql.ScriptDom.MultiPartIdentifier
    Microsoft.SqlServer.TransactSql.ScriptDom.OffsetClause
    Microsoft.SqlServer.TransactSql.ScriptDom.OnlineIndexLowPriorityLockWaitOption
    Microsoft.SqlServer.TransactSql.ScriptDom.OptimizerHint
    Microsoft.SqlServer.TransactSql.ScriptDom.OptionValue
    Microsoft.SqlServer.TransactSql.ScriptDom.OrderByClause
    Microsoft.SqlServer.TransactSql.ScriptDom.OutputClause
    Microsoft.SqlServer.TransactSql.ScriptDom.OutputIntoClause
    Microsoft.SqlServer.TransactSql.ScriptDom.OverClause
    Microsoft.SqlServer.TransactSql.ScriptDom.PartitionParameterType
    Microsoft.SqlServer.TransactSql.ScriptDom.PartitionSpecifier
    Microsoft.SqlServer.TransactSql.ScriptDom.PayloadOption
    Microsoft.SqlServer.TransactSql.ScriptDom.Permission
    Microsoft.SqlServer.TransactSql.ScriptDom.PrincipalOption
    Microsoft.SqlServer.TransactSql.ScriptDom.Privilege80
    Microsoft.SqlServer.TransactSql.ScriptDom.ProcedureOption
    Microsoft.SqlServer.TransactSql.ScriptDom.ProcedureReference
    Microsoft.SqlServer.TransactSql.ScriptDom.ProcedureReferenceName
    Microsoft.SqlServer.TransactSql.ScriptDom.QueryExpression
    Microsoft.SqlServer.TransactSql.ScriptDom.QueueOption
    Microsoft.SqlServer.TransactSql.ScriptDom.RemoteServiceBindingOption
    Microsoft.SqlServer.TransactSql.ScriptDom.ResourcePoolAffinitySpecification
    Microsoft.SqlServer.TransactSql.ScriptDom.ResourcePoolParameter
    Microsoft.SqlServer.TransactSql.ScriptDom.RestoreOption
    Microsoft.SqlServer.TransactSql.ScriptDom.ResultColumnDefinition
    Microsoft.SqlServer.TransactSql.ScriptDom.ResultSetDefinition
    Microsoft.SqlServer.TransactSql.ScriptDom.RouteOption
    Microsoft.SqlServer.TransactSql.ScriptDom.RowValue
    Microsoft.SqlServer.TransactSql.ScriptDom.ScalarExpression
    Microsoft.SqlServer.TransactSql.ScriptDom.SchemaDeclarationItem
    Microsoft.SqlServer.TransactSql.ScriptDom.SchemaObjectNameOrValueExpression
    Microsoft.SqlServer.TransactSql.ScriptDom.SearchPropertyListAction
    Microsoft.SqlServer.TransactSql.ScriptDom.SecurityElement80
    Microsoft.SqlServer.TransactSql.ScriptDom.SecurityPrincipal
    Microsoft.SqlServer.TransactSql.ScriptDom.SecurityTargetObject
    Microsoft.SqlServer.TransactSql.ScriptDom.SecurityTargetObjectName
    Microsoft.SqlServer.TransactSql.ScriptDom.SecurityUserClause80
    Microsoft.SqlServer.TransactSql.ScriptDom.SelectElement
    Microsoft.SqlServer.TransactSql.ScriptDom.SelectiveXmlIndexPromotedPath
    Microsoft.SqlServer.TransactSql.ScriptDom.SequenceOption
    Microsoft.SqlServer.TransactSql.ScriptDom.ServiceContract
    Microsoft.SqlServer.TransactSql.ScriptDom.SessionOption
    Microsoft.SqlServer.TransactSql.ScriptDom.SetClause
    Microsoft.SqlServer.TransactSql.ScriptDom.SetCommand
    Microsoft.SqlServer.TransactSql.ScriptDom.SpatialIndexOption
    Microsoft.SqlServer.TransactSql.ScriptDom.StatementList
    Microsoft.SqlServer.TransactSql.ScriptDom.StatisticsOption
    Microsoft.SqlServer.TransactSql.ScriptDom.StatisticsPartitionRange
    Microsoft.SqlServer.TransactSql.ScriptDom.TableDefinition
    Microsoft.SqlServer.TransactSql.ScriptDom.TableHint
    Microsoft.SqlServer.TransactSql.ScriptDom.TableOption
    Microsoft.SqlServer.TransactSql.ScriptDom.TableReference
    Microsoft.SqlServer.TransactSql.ScriptDom.TableSampleClause
    Microsoft.SqlServer.TransactSql.ScriptDom.TableSwitchOption
    Microsoft.SqlServer.TransactSql.ScriptDom.TargetDeclaration
    Microsoft.SqlServer.TransactSql.ScriptDom.TopRowFilter
    Microsoft.SqlServer.TransactSql.ScriptDom.TriggerAction
    Microsoft.SqlServer.TransactSql.ScriptDom.TriggerObject
    Microsoft.SqlServer.TransactSql.ScriptDom.TriggerOption
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlBatch
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragmentSnippet
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlScript
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
    Microsoft.SqlServer.TransactSql.ScriptDom.UserLoginOption
    Microsoft.SqlServer.TransactSql.ScriptDom.VariableValuePair
    Microsoft.SqlServer.TransactSql.ScriptDom.ViewOption
    Microsoft.SqlServer.TransactSql.ScriptDom.WhenClause
    Microsoft.SqlServer.TransactSql.ScriptDom.WhereClause
    Microsoft.SqlServer.TransactSql.ScriptDom.WindowDelimiter
    Microsoft.SqlServer.TransactSql.ScriptDom.WindowFrameClause
    Microsoft.SqlServer.TransactSql.ScriptDom.WithCtesAndXmlNamespaces
    Microsoft.SqlServer.TransactSql.ScriptDom.WithinGroupClause
    Microsoft.SqlServer.TransactSql.ScriptDom.WorkloadGroupParameter
    Microsoft.SqlServer.TransactSql.ScriptDom.XmlNamespaces
    Microsoft.SqlServer.TransactSql.ScriptDom.XmlNamespacesElement

<SerializableAttribute>
Public MustInherit Class TSqlFragment

NameDescription
System_CAPS_protmethodTSqlFragment()

Initializes a new instance of the TSqlFragment class.

NameDescription
System_CAPS_pubpropertyFirstTokenIndex

Gets or sets the first token index.

System_CAPS_pubpropertyFragmentLength

Gets the fragment length.

System_CAPS_pubpropertyLastTokenIndex

Gets or sets the last token index.

System_CAPS_pubpropertyScriptTokenStream

Gets or sets a list of token streams.

System_CAPS_pubpropertyStartColumn

Gets the starting column.

System_CAPS_pubpropertyStartLine

Gets the starting line.

System_CAPS_pubpropertyStartOffset

Gets the fragment start offset value.

NameDescription
System_CAPS_pubmethodAccept(TSqlFragmentVisitor)

Indicates the entry point for a given visitor.

System_CAPS_pubmethodAcceptChildren(TSqlFragmentVisitor)

Calls Accept on the children with the given visitor.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticUninitialized

Value is -1.

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

Return to top
Show: