Propriedade do RDL Publication.SnapshotAgentExists
Gets if the SQL Server Agent job exists to generate the initial snapshot for this publication.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)
Sintaxe
'Declaração
Public ReadOnly Property SnapshotAgentExists As Boolean
Get
'Uso
Dim instance As Publication
Dim value As Boolean
value = instance.SnapshotAgentExists
public bool SnapshotAgentExists { get; }
public:
property bool SnapshotAgentExists {
bool get ();
}
member SnapshotAgentExists : bool
function get SnapshotAgentExists () : boolean
Valor da propriedade
Tipo: System.Boolean
A Boolean value that indicates if the Snapshot Agent job exists for the publication.
Exceções
Exceção | Condição |
---|---|
ApplicationException | If the publication does not exist on the server, or the server is not running SQL Server 2005 or later. |