Freigeben über


CreateAvailabilityGroupStatement-Klasse

Represents the CREATE AVAILABILITY GROUP statement.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.AvailabilityGroupStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.CreateAvailabilityGroupStatement

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

Syntax

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

Der CreateAvailabilityGroupStatement-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode CreateAvailabilityGroupStatement Initializes a new instance of the CreateAvailabilityGroupStatement class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Databases Gets the collection of databases. (Geerbt von AvailabilityGroupStatement.)
Öffentliche Eigenschaft FirstTokenIndex Gets or sets the first token index. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft FragmentLength Gets the fragment length. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft LastTokenIndex Gets or sets the last token index. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft Name Gets or sets the availability group name. (Geerbt von AvailabilityGroupStatement.)
Öffentliche Eigenschaft Options Gets the collection of availability group options. (Geerbt von AvailabilityGroupStatement.)
Öffentliche Eigenschaft Replicas Gets the collection of replicas. (Geerbt von AvailabilityGroupStatement.)
Öffentliche Eigenschaft ScriptTokenStream Gets or sets a list of token streams. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft StartColumn Gets the starting column. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft StartLine Gets the starting line. (Geerbt von TSqlFragment.)
Öffentliche Eigenschaft StartOffset Gets the fragment start offset value. (Geerbt von TSqlFragment.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Accept Accepts the visitor. (Überschreibt TSqlFragment.Accept(TSqlFragmentVisitor).)
Öffentliche Methode AcceptChildren Accepts the visitor for Children. (Überschreibt AvailabilityGroupStatement.AcceptChildren(TSqlFragmentVisitor).)
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.TransactSql.ScriptDom-Namespace