Свойство SnapshotAgentExists
Gets if the SQL Server Agent job exists to generate the initial snapshot for this publication.
Пространство имен: Microsoft.SqlServer.Replication
Сборка: Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)
Синтаксис
'Декларация
Public ReadOnly Property SnapshotAgentExists As Boolean
Get
'Применение
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
Значение свойства
Тип: System. . :: . .Boolean
A Boolean value that indicates if the Snapshot Agent job exists for the publication.
Исключения
Исключение | Условие |
---|---|
ApplicationException | If the publication does not exist on the server, or the server is not running SQL Server 2005 or later. |
Замечания
The SnapshotAgentExists property is available with SQL Server 2005 and later.
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.