Bagikan melalui


ReplicationServer.IsPublisher Properti

Definisi

Mendapatkan apakah instans Microsoft SQL Server yang saat ini tersambung adalah Publisher atau tidak.

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

Nilai Properti

Boolean Nilai yang menentukan apakah instans SQL Server yang saat ini tersambung adalah Publisher atau tidak.

Jika true, instans SQL Server adalah Publisher.

Jika false, instans SQL Server bukan Publisher.

Keterangan

Properti IsPublisher dapat diambil oleh anggota peran database tetap publik.

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

Berlaku untuk