ReplicationServer.IsPublisher Proprietà

Definizione

Ottiene se l'istanza attualmente connessa di Microsoft SQL Server è un Publisher.

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

Valore della proprietà

Un Boolean valore che specifica se l'istanza attualmente collegata di SQL Server è o meno un Publisher.

Se true, l'istanza di SQL Server è un Publisher.

Se false, l'istanza di SQL Server non è un Publisher.

Commenti

La IsPublisher proprietà può essere recuperata dai membri del ruolo pubblico di database fisso.

La IsPublisher proprietà è equivalente alla procedura sp_get_distributor (Transact-SQL) memorizzata.

Si applica a