Bagikan melalui


ReplicationServer.DistributorInstalled Properti

Definisi

Mendapatkan apakah instans SQL Server yang saat ini terhubung memiliki Distributor lokal atau jarak jauh.

public:
 property bool DistributorInstalled { bool get(); };
public bool DistributorInstalled { get; }
member this.DistributorInstalled : bool
Public ReadOnly Property DistributorInstalled As Boolean

Nilai Properti

Boolean Nilai yang menentukan apakah Publisher menggunakan Distributor lokal atau jarak jauh.

Jika true, Distributor bersifat lokal.

Jika false, Distributor untuk Publisher ini berada di server jarak jauh.

Keterangan

Publisher dapat menggunakan Distributor lokal atau jarak jauh.

Properti DistributorInstalled dapat diambil oleh anggota peran database tetap publik.

Properti DistributorInstalled ini setara dengan prosedur tersimpan sp_get_distributor (Transact-SQL ).

Berlaku untuk