语言

Publication.SnapshotAgentExists 属性

定义

获取是否存在 SQL Server 代理 作业以生成本出版物的初始快照。

public:
 property bool SnapshotAgentExists { bool get(); };
public bool SnapshotAgentExists { get; }
member this.SnapshotAgentExists : bool
Public ReadOnly Property SnapshotAgentExists As Boolean

属性值

这是一个Boolean表示发布文件是否存在快照代理作业的值。

例外

如果该发布品不存在于服务器上,或服务器未运行SQL Server 2005及更高版本。

适用于