Partager via


Database.IsLocalPrimaryReplica Method

Definition

Returns true if the database is part of an Availability Group and resides on the primary replica server

public bool IsLocalPrimaryReplica ();
member this.IsLocalPrimaryReplica : unit -> bool
Public Function IsLocalPrimaryReplica () As Boolean

Returns

Applies to