Microsoft.SQLServer.2012.AlwaysOn.DatabaseReplica数据库副本

Microsoft.SQLServer.2012.AlwaysOn.DatabaseReplica (ClassType)

这是数据库副本状态 SMO 对象的表示形式

Element properties:

Base ClassMicrosoft.SQLServer.Component
AbstractFalse
HostedTrue
SingletonFalse
ExtensionFalse
AccessibilityPublic
ElementId851440bd-d272-dce6-46db-83cf93228a3f

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.2012.AlwaysOn.DatabaseReplica:
Name  string  名称 true 256  False 
AvailabilityDatabaseName  string  可用性数据库名称 false 256  False 
AvailabilityDatabaseId  guid  可用性数据库 ID false 256   
AvailabilityGroupName  string  可用性组名称 false 256  False 
AvailabilityGroupId  guid  可用性组 ID false 256   
AvailabilityReplicaServerName  string  可用性副本服务器名称 false 256  False 
AvailabilityReplicaId  guid  可用性副本名称 false 256   
DatabaseId  int  数据库 ID false 256   
IsFailoverReady  bool  故障转移就绪 false 256   
IsJoined  bool  已联接 false 256   
IsSuspended  bool  已挂起 false 256   
SuspendReason  string  挂起原因 false 256  False 
PerformanceObjectName  string  性能计数器对象名称 false 256  False 

Health Model:

Source Code:

<ClassType ID="Microsoft.SQLServer.2012.AlwaysOn.DatabaseReplica" Accessibility="Public" Abstract="false" Base="SQLServer!Microsoft.SQLServer.Component" Hosted="true" Singleton="false">
<Property ID="Name" Type="string" Key="true" CaseSensitive="false" Length="256"/>
<Property ID="AvailabilityDatabaseName" Type="string" Key="false" CaseSensitive="false" MinLength="0" Length="256"/>
<Property ID="AvailabilityDatabaseId" Type="guid" Key="false"/>
<Property ID="AvailabilityGroupName" Type="string" Key="false" CaseSensitive="false" MinLength="0" Length="256"/>
<Property ID="AvailabilityGroupId" Type="guid" Key="false"/>
<Property ID="AvailabilityReplicaServerName" Type="string" Key="false" CaseSensitive="false" MinLength="0" Length="256"/>
<Property ID="AvailabilityReplicaId" Type="guid" Key="false"/>
<Property ID="DatabaseId" Type="int" Key="false"/>
<Property ID="IsFailoverReady" Type="bool" Key="false"/>
<Property ID="IsJoined" Type="bool" Key="false"/>
<Property ID="IsSuspended" Type="bool" Key="false"/>
<Property ID="SuspendReason" Type="string" Key="false" CaseSensitive="false" Length="256"/>
<Property ID="PerformanceObjectName" Type="string" Key="false" CaseSensitive="false" Length="256"/>
</ClassType>