Compartilhar via


IResultObject.AutoRefresh Property

Gets or sets a value that indicates whether automatic calls are made to the refresh method for all site control file classes using the SiteCode property of the current object (default).

Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim instance As IResultObject
Dim value As Boolean

value = instance.AutoRefresh

instance.AutoRefresh = value

Syntax

'Declaration
Property AutoRefresh As Boolean
bool AutoRefresh { get; set; }
property bool AutoRefresh {
    bool get ();
    void set (bool value);
}
/** @property */
boolean get_AutoRefresh ()

/** @property */
void set_AutoRefresh (boolean value)
function get AutoRefresh () : boolean

function set AutoRefresh (value : boolean)

Property Value

true if automatic calls are made; otherwise false.

Remarks

Automatic refresh is supported for get operations.

The framework sets this property when the object is retrieved by using an ExecuteQuery method.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

IResultObject Interface
IResultObject Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
ExecuteQuery