ReplicationServer.IsDistributor Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan apakah instans SQL Server yang saat ini terhubung adalah Distributor atau tidak.
public:
property bool IsDistributor { bool get(); };
public bool IsDistributor { get; }
member this.IsDistributor : bool
Public ReadOnly Property IsDistributor As Boolean
Nilai Properti
Boolean Nilai yang menentukan apakah instans SQL Server yang saat ini terhubung adalah Distributor atau tidak.
Jika true
, instans SQL Server adalah Distributor.
Jika false
, instans SQL Server bukan Distributor.
Keterangan
IsDistributor Properti dapat diambil oleh anggota peran database tetap publik.
Properti IsDistributor ini setara dengan prosedur tersimpan sp_get_distributor (Transact-SQL ).