Share via


Publication.SnapshotAgentExists Property

Definition

Gets if the SQL Server Agent job exists to generate the initial snapshot for this publication.

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

Property Value

A Boolean value that indicates if the Snapshot Agent job exists for the publication.

Exceptions

If the publication does not exist on the server, or the server is not running SQL Server 2005 or later.

Applies to