Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Represents the main role of the replica on the script.
Vererbungshierarchie
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.AvailabilityReplicaOption
Microsoft.SqlServer.TransactSql.ScriptDom.PrimaryRoleReplicaOption
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class PrimaryRoleReplicaOption _
Inherits AvailabilityReplicaOption
'Usage
Dim instance As PrimaryRoleReplicaOption
[SerializableAttribute]
public class PrimaryRoleReplicaOption : AvailabilityReplicaOption
[SerializableAttribute]
public ref class PrimaryRoleReplicaOption : public AvailabilityReplicaOption
[<SerializableAttribute>]
type PrimaryRoleReplicaOption =
class
inherit AvailabilityReplicaOption
end
public class PrimaryRoleReplicaOption extends AvailabilityReplicaOption
Der PrimaryRoleReplicaOption-Typ macht folgende Elemente verfügbar.
Konstruktoren
| Name | Beschreibung | |
|---|---|---|
![]() |
PrimaryRoleReplicaOption | Initializes a new instance of the PrimaryRoleReplicaOption class. |
Zum Anfang
Eigenschaften
| Name | Beschreibung | |
|---|---|---|
![]() |
AllowConnections | Gets or sets the replica option to allow in the connections. |
![]() |
FirstTokenIndex | Gets or sets the first token index. (Geerbt von TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (Geerbt von TSqlFragment.) |
![]() |
LastTokenIndex | Gets or sets the last token index. (Geerbt von TSqlFragment.) |
![]() |
OptionKind | Gets or sets the type of availability replica option. (Geerbt von AvailabilityReplicaOption.) |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (Geerbt von TSqlFragment.) |
![]() |
StartColumn | Gets the starting column. (Geerbt von TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (Geerbt von TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (Geerbt von TSqlFragment.) |
Zum Anfang
Methoden
| Name | Beschreibung | |
|---|---|---|
![]() |
Accept | Indicates the entry point for a given visitor. (Überschreibt TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Calls Accept on the children with the given visitor. (Überschreibt AvailabilityReplicaOption.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (Geerbt von Object.) |
![]() |
Finalize | (Geerbt von Object.) |
![]() |
GetHashCode | (Geerbt von Object.) |
![]() |
GetType | (Geerbt von Object.) |
![]() |
MemberwiseClone | (Geerbt von Object.) |
![]() |
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.
.gif)
.gif)
.gif)