ReplicationServer.DistributionDatabases Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the distribution databases defined on the replication server.
public:
property Microsoft::SqlServer::Replication::DistributionDatabaseCollection ^ DistributionDatabases { Microsoft::SqlServer::Replication::DistributionDatabaseCollection ^ get(); };
public Microsoft.SqlServer.Replication.DistributionDatabaseCollection DistributionDatabases { get; }
member this.DistributionDatabases : Microsoft.SqlServer.Replication.DistributionDatabaseCollection
Public ReadOnly Property DistributionDatabases As DistributionDatabaseCollection
Property Value
A DistributionDatabaseCollection object that represents all the distribution databases that exist on the replication server.
Remarks
A DistributionDatabase object in the returned DistributionDatabaseCollection can be accessed using either an integer or a string indexer.
The DistributionDatabase property can only be retrieved by a member of the sysadmin fixed server role at the Distributor or a member of the db_owner fixed database role in the distribution database.