PrimaryRoleReplicaOption 클래스

Represents the main role of the replica on the script.

상속 계층

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.AvailabilityReplicaOption
      Microsoft.SqlServer.TransactSql.ScriptDom.PrimaryRoleReplicaOption

네임스페이스:  Microsoft.SqlServer.TransactSql.ScriptDom
어셈블리:  Microsoft.SqlServer.TransactSql.ScriptDom(Microsoft.SqlServer.TransactSql.ScriptDom.dll)

구문

‘선언
<SerializableAttribute> _
Public Class PrimaryRoleReplicaOption _
    Inherits AvailabilityReplicaOption
‘사용 방법
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

PrimaryRoleReplicaOption 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 PrimaryRoleReplicaOption Initializes a new instance of the PrimaryRoleReplicaOption class.

맨 위로 이동

속성

  이름 설명
공용 속성 AllowConnections Gets or sets the replica option to allow in the connections.
공용 속성 FirstTokenIndex Gets or sets the first token index. (TSqlFragment에서 상속됨)
공용 속성 FragmentLength Gets the fragment length. (TSqlFragment에서 상속됨)
공용 속성 LastTokenIndex Gets or sets the last token index. (TSqlFragment에서 상속됨)
공용 속성 OptionKind Gets or sets the type of availability replica option. (AvailabilityReplicaOption에서 상속됨)
공용 속성 ScriptTokenStream Gets or sets a list of token streams. (TSqlFragment에서 상속됨)
공용 속성 StartColumn Gets the starting column. (TSqlFragment에서 상속됨)
공용 속성 StartLine Gets the starting line. (TSqlFragment에서 상속됨)
공용 속성 StartOffset Gets the fragment start offset value. (TSqlFragment에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 Accept Indicates the entry point for a given visitor. (TSqlFragment.Accept(TSqlFragmentVisitor)을(를) 재정의함)
공용 메서드 AcceptChildren Calls Accept on the children with the given visitor. (AvailabilityReplicaOption.AcceptChildren(TSqlFragmentVisitor)을(를) 재정의함)
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.TransactSql.ScriptDom 네임스페이스