ReplicationServer.ReplicationDatabases Property

Definition

Gets the databases enabled for replication in the connected instance of Microsoft SQL Server.

public:
 property Microsoft::SqlServer::Replication::ReplicationDatabaseCollection ^ ReplicationDatabases { Microsoft::SqlServer::Replication::ReplicationDatabaseCollection ^ get(); };
public Microsoft.SqlServer.Replication.ReplicationDatabaseCollection ReplicationDatabases { get; }
member this.ReplicationDatabases : Microsoft.SqlServer.Replication.ReplicationDatabaseCollection
Public ReadOnly Property ReplicationDatabases As ReplicationDatabaseCollection

Property Value

A ReplicationDatabaseCollection object that represents all the databases enabled for replication on the server.

Remarks

A ReplicationDatabase object in the returned ReplicationDatabaseCollection can be accessed using either an integer or a string indexer.

The ReplicationDatabases property can be retrieved by the public fixed database role.

Applies to