Was this page helpful?
Additional feedback?
1500 characters remaining
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: System.Boolean

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

Exception Condition

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

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft