Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.
ExceptionCondition
ApplicationException

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.