Microsoft.SQLServer.Windows.DatabaseReplicaMSSQL on Windows: Database Replica

Microsoft.SQLServer.Windows.DatabaseReplica (ClassType)

This is a representation of Database Replica State SMO object.

Knowledge Base article:

Summary

This is a representation of Database Replica State SMO object.

Element properties:

Base ClassMicrosoft.SQLServer.Core.DatabaseReplica
AbstractFalse
HostedTrue
SingletonFalse
ExtensionFalse
AccessibilityPublic
ElementIde7426c8e-bca8-5dd0-e518-de3c9e48dc85

Class Hierarchy:

Class Properties:

Property Name Type Display Name (ENU) Description (ENU) Key Max Length Min Length Case Sensitive
System.Entity:
DisplayName  string  Display Name Display name of the object. false 4000  False 
Microsoft.SQLServer.Core.DatabaseReplica:
AvailabilityDatabaseName  string  Availability Database Name true 256  False 
AvailabilityDatabaseId  guid  Availability Database ID false 256   
AvailabilityGroupName  string  Availability Group Name false 256  False 
AvailabilityGroupId  guid  Availability Group ID false 256   
AvailabilityReplicaServerName  string  Availability Replica Server Name false 256  False 
AvailabilityReplicaId  guid  Availability Replica ID false 256   
DatabaseId  int  Database ID false 256   
IsFailoverReady  bool  Failover Readiness false 256   
IsJoined  bool  Joined false 256   
IsSuspended  bool  Suspended false 256   
SuspendReason  string  Suspend Reason false 256  False 

Health Model:

Source Code:

<ClassType ID="Microsoft.SQLServer.Windows.DatabaseReplica" Base="SqlCoreLib!Microsoft.SQLServer.Core.DatabaseReplica" Accessibility="Public" Abstract="false" Hosted="true" Singleton="false"/>