Export (0) Print
Expand All

Publication.SnapshotAgentExists Property

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

public bool SnapshotAgentExists { get; }

Property Value

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

ExceptionCondition
ApplicationException

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft