PublicationMonitor.CacheRefreshPolicy 属性

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Gets or sets the monitor cache refresh policy.

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)

语法

声明
Public Property CacheRefreshPolicy As MonitorCacheRefreshPolicy 
    Get 
    Set
用法
Dim instance As PublicationMonitor 
Dim value As MonitorCacheRefreshPolicy 

value = instance.CacheRefreshPolicy

instance.CacheRefreshPolicy = value
public MonitorCacheRefreshPolicy CacheRefreshPolicy { get; set; }
public:
property MonitorCacheRefreshPolicy CacheRefreshPolicy {
    MonitorCacheRefreshPolicy get ();
    void set (MonitorCacheRefreshPolicy value);
}
member CacheRefreshPolicy : MonitorCacheRefreshPolicy with get, set
function get CacheRefreshPolicy () : MonitorCacheRefreshPolicy 
function set CacheRefreshPolicy (value : MonitorCacheRefreshPolicy)

属性值

类型:Microsoft.SqlServer.Replication.MonitorCacheRefreshPolicy
A MonitorCacheRefreshPolicy object.

请参阅

参考

PublicationMonitor 类

Microsoft.SqlServer.Replication 命名空间