다음을 통해 공유


SnapshotAgentExists 속성

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

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo.dll의 Microsoft.SqlServer.Rmo

구문

‘선언
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.