WitnessDatabaseOption WitnessDatabaseOption WitnessDatabaseOption Class

Definition

Represents the WITNESS option in the ALTER DATABASE statement, SET case.

public ref class WitnessDatabaseOption : Microsoft::SqlServer::TransactSql::ScriptDom::DatabaseOption
public class WitnessDatabaseOption : Microsoft.SqlServer.TransactSql.ScriptDom.DatabaseOption
Public Class WitnessDatabaseOption
Inherits DatabaseOption
Inheritance
WitnessDatabaseOptionWitnessDatabaseOptionWitnessDatabaseOption

Constructors

WitnessDatabaseOption() WitnessDatabaseOption() WitnessDatabaseOption()

Initializes a new instance of the WitnessDatabaseOption class.

Properties

FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
IsOff IsOff IsOff

Gets or sets whether the OFF option is specified.

LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
OptionKind OptionKind OptionKind

Gets or sets the option kind.

(Inherited from DatabaseOption)
ScriptTokenStream ScriptTokenStream ScriptTokenStream

Gets or sets a list of token streams.

(Inherited from TSqlFragment)
StartColumn StartColumn StartColumn

Gets the starting column.

(Inherited from TSqlFragment)
StartLine StartLine StartLine

Gets the starting line.

(Inherited from TSqlFragment)
StartOffset StartOffset StartOffset

Gets the fragment start offset value.

(Inherited from TSqlFragment)
WitnessServer WitnessServer WitnessServer

Gets or sets the witness server, if specified.

Methods

Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor)

Accepts a visit from the specified visitor.

AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor)

Accepts a visit for the Children from the specified visitor.

Fields

Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to