Microsoft.SQLServer.2016.AlwaysOn.DatabaseReplicaMSSQL 2016: 資料庫複本

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

這是資料庫複本狀態 SMO 物件的表示

Element properties:

Base ClassMicrosoft.SQLServer.2016.Component
AbstractFalse
HostedTrue
SingletonFalse
ExtensionFalse
AccessibilityPublic
ElementId3fb0fff7-09fb-2bf4-06a9-3fd7cf9f7759

Class Hierarchy:

Class Properties:

Property Name Type Display Name (CHT) Description (CHT) Key Max Length Min Length Case Sensitive
System.Entity:
DisplayName  string  顯示名稱 顯示監視物件的名稱。 false 256  False 
Microsoft.SQLServer.2016.AlwaysOn.DatabaseReplica:
Name  string  名稱 true 256  False 
AvailabilityDatabaseName  string  可用性資料庫名稱 false 256  False 
AvailabilityDatabaseId  guid  可用性資料庫識別碼 false 256   
AvailabilityGroupName  string  可用性群組名稱 false 256  False 
AvailabilityGroupId  guid  可用性群組識別碼 false 256   
AvailabilityReplicaServerName  string  可用性複本伺服器名稱 false 256  False 
AvailabilityReplicaId  guid  可用性複本名稱 false 256   
DatabaseId  int  資料庫識別碼 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.2016.AlwaysOn.DatabaseReplica" Accessibility="Public" Abstract="false" Base="MicrosoftSQLServer2016Discovery!Microsoft.SQLServer.2016.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>