Microsoft.SQLServer.2014.AlwaysOn.AvailabilityReplicaMSSQL 2014: 可用性副本

Microsoft.SQLServer.2014.AlwaysOn.AvailabilityReplica (ClassType)

此对象表示可用性副本 SMO 对象,并包含标识和监视所需的所有属性。

Knowledge Base article:

摘要

此对象表示可用性副本 SMO 对象,并包含标识和监视所需的所有属性。

Element properties:

Base ClassMicrosoft.SQLServer.2014.Component
AbstractFalse
HostedTrue
SingletonFalse
ExtensionFalse
AccessibilityPublic
ElementId26dbc1b5-99bc-9825-a294-854dddefd156

Class Hierarchy:

Class Properties:

Property Name Type Display Name (CHS) Description (CHS) Key Max Length Min Length Case Sensitive
System.Entity:
DisplayName  string  显示名称 监视对象的显示名称。 false 256  False 
Microsoft.SQLServer.2014.AlwaysOn.AvailabilityReplica:
Role  string  角色 false 256  False 
UniqueId  guid  ID true 256   
BackupPriority  int  备份优先级 false 256   
FailoverMode  string  故障转移模式 false 256  False 
AvailabilityMode  string  可用性模式 false 256  False 
ConnectionState  string  连接状态 false 256  False 
ConnectionModeInPrimaryRole  string  主连接模式 false 256  False 
ConnectionModeInSecondaryRole  string  辅助连接模式 false 256  False 
EndpointUrl  string  端点 URL false 256  False 
OperationalState  string  操作状态 false 256  False 
AvailabilityGroupUniqueId  guid  可用性组 ID false 256   
AvailabilityGroupName  string  可用性组名称 false 256  False 
PerformanceObjectName  string  性能计数器对象名称 false 256  False 

Health Model:

Source Code:

<ClassType ID="Microsoft.SQLServer.2014.AlwaysOn.AvailabilityReplica" Accessibility="Public" Abstract="false" Base="MicrosoftSQLServer2014Discovery!Microsoft.SQLServer.2014.Component" Hosted="true" Singleton="false">
<Property ID="Role" Type="string" Key="false" CaseSensitive="false" MinLength="0" Length="256"/>
<Property ID="UniqueId" Type="guid" Key="true" CaseSensitive="false" MinLength="0" Length="256"/>
<Property ID="BackupPriority" Type="int" Key="false"/>
<Property ID="FailoverMode" Type="string" Key="false" CaseSensitive="false" MinLength="0" Length="256"/>
<Property ID="AvailabilityMode" Type="string" Key="false" CaseSensitive="false" MinLength="0" Length="256"/>
<Property ID="ConnectionState" Type="string" Key="false" CaseSensitive="false" Length="256"/>
<Property ID="ConnectionModeInPrimaryRole" Type="string" Key="false" CaseSensitive="false" MinLength="0" Length="256"/>
<Property ID="ConnectionModeInSecondaryRole" Type="string" Key="false" CaseSensitive="false" MinLength="0" Length="256"/>
<Property ID="EndpointUrl" Type="string" Key="false" CaseSensitive="false" Length="256"/>
<Property ID="OperationalState" Type="string" Key="false" CaseSensitive="false" Length="256"/>
<Property ID="AvailabilityGroupUniqueId" Type="guid" Key="false" CaseSensitive="false"/>
<Property ID="AvailabilityGroupName" Type="string" Key="false" CaseSensitive="false"/>
<Property ID="PerformanceObjectName" Type="string" Key="false" CaseSensitive="false" Length="256"/>
</ClassType>