Export (0) Print
Expand All

WitnessDatabaseOption Class

 

Applies To: SQL Server 2016 Preview

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

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


[SerializableAttribute]
public class WitnessDatabaseOption : DatabaseOption

NameDescription
System_CAPS_pubmethodWitnessDatabaseOption()

Initializes a new instance of the WitnessDatabaseOption class.

NameDescription
System_CAPS_pubpropertyFirstTokenIndex

Gets or sets the first token index.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyFragmentLength

Gets the fragment length.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyIsOff

Gets or sets whether the OFF option is specified.

System_CAPS_pubpropertyLastTokenIndex

Gets or sets the last token index.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyOptionKind

Gets or sets the option kind.(Inherited from DatabaseOption.)

System_CAPS_pubpropertyScriptTokenStream

Gets or sets a list of token streams.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyStartColumn

Gets the starting column.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyStartLine

Gets the starting line.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyStartOffset

Gets the fragment start offset value.(Inherited from TSqlFragment.)

System_CAPS_pubpropertyWitnessServer

Gets or sets the witness server, if specified.

NameDescription
System_CAPS_pubmethodAccept(TSqlFragmentVisitor)

Accepts a visit from the specified visitor.(Overrides DatabaseOption.Accept(TSqlFragmentVisitor).)

System_CAPS_pubmethodAcceptChildren(TSqlFragmentVisitor)

Accepts a visit for the Children from the specified visitor.(Overrides DatabaseOption.AcceptChildren(TSqlFragmentVisitor).)

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.)

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft