Delen via


WriteTextStatement Class

Represents the WRITETEXT statement.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.TextModificationStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.WriteTextStatement

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class WriteTextStatement _
    Inherits TextModificationStatement
'Usage
Dim instance As WriteTextStatement
[SerializableAttribute]
public class WriteTextStatement : TextModificationStatement
[SerializableAttribute]
public ref class WriteTextStatement : public TextModificationStatement
[<SerializableAttribute>]
type WriteTextStatement =  
    class 
        inherit TextModificationStatement 
    end
public class WriteTextStatement extends TextModificationStatement

The WriteTextStatement type exposes the following members.

Constructors

  Name Description
Public method WriteTextStatement Initializes a new instance of the WriteTextStatement class.

Top

Properties

  Name Description
Public property Bulk Gets or sets a value that indicates whether BULK was used. (Inherited from TextModificationStatement.)
Public property Column Gets or sets the column. Has to be at least a two part name including table. (Inherited from TextModificationStatement.)
Public property FirstTokenIndex Gets or sets the first token index. (Inherited from TSqlFragment.)
Public property FragmentLength Gets the fragment length. (Inherited from TSqlFragment.)
Public property LastTokenIndex Gets or sets the last token index. (Inherited from TSqlFragment.)
Public property ScriptTokenStream Gets or sets a list of token streams. (Inherited from TSqlFragment.)
Public property SourceParameter Gets or sets the source parameter. It can be nulla null reference (Nothing in Visual Basic), Ascii or Unicode string, binary or variable.
Public property StartColumn Gets the starting column. (Inherited from TSqlFragment.)
Public property StartLine Gets the starting line. (Inherited from TSqlFragment.)
Public property StartOffset Gets the fragment start offset value. (Inherited from TSqlFragment.)
Public property TextId Gets or sets the specified value of the TextId. Can be a binary, an integer or a variable. (Inherited from TextModificationStatement.)
Public property Timestamp Gets or sets the initial timestamp value. Optional, literal of binary type. (Inherited from TextModificationStatement.)
Public property WithLog Gets or sets a value that indicates whether WITH LOG was defined. (Inherited from TextModificationStatement.)

Top

Methods

  Name Description
Public method Accept Accepts entry point for a given visitor. (Overrides TSqlFragment.Accept(TSqlFragmentVisitor).)
Public method AcceptChildren Calls Accept on the children with the given visitor. (Overrides TextModificationStatement.AcceptChildren(TSqlFragmentVisitor).)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

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.

See Also

Reference

Microsoft.SqlServer.TransactSql.ScriptDom Namespace