Compartilhar via


PartnerDatabaseOption Class

Definition

PARTNER option in ALTER DATABASE statement, SET case

[System.Serializable]
public class PartnerDatabaseOption : Microsoft.SqlServer.TransactSql.ScriptDom.DatabaseOption
[<System.Serializable>]
type PartnerDatabaseOption = class
    inherit DatabaseOption
Public Class PartnerDatabaseOption
Inherits DatabaseOption
Inheritance
PartnerDatabaseOption
Attributes

Constructors

PartnerDatabaseOption()

Fields

Uninitialized

Constant to indicate and uninitialized token.

(Inherited from TSqlFragment)

Properties

FirstTokenIndex

Gets or sets the first index of the token.

(Inherited from TSqlFragment)
FragmentLength

Defines the number of characters the fragment takes up in the script it was parsed.

(Inherited from TSqlFragment)
LastTokenIndex

Gets or sets the last index of the token.

(Inherited from TSqlFragment)
OptionKind

The option kind.

(Inherited from DatabaseOption)
PartnerOption

Partner option

PartnerServer

Partner server - if specified

ScriptTokenStream

Gets or sets the script token stream.

(Inherited from TSqlFragment)
StartColumn

Gets the start column.

(Inherited from TSqlFragment)
StartLine

Gets the start line.

(Inherited from TSqlFragment)
StartOffset

Defines the character offset of fragments starting location in the script it was parsed.

(Inherited from TSqlFragment)
Timeout

Timeout - if specified

Methods

Accept(TSqlFragmentVisitor)

Accepts visitor

AcceptChildren(TSqlFragmentVisitor)

Accepts visitor for Children

Applies to