Publication.SnapshotAgentExists Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.