共用方式為


IResultObject.AutoCommit Property

Gets or sets a value that indicates whether automatic calls are made to the commit 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.AutoCommit

instance.AutoCommit = value

Syntax

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

/** @property */
void set_AutoCommit (boolean value)
function get AutoCommit () : boolean

function set AutoCommit (value : boolean)

Property Value

true if automatic calls are made; otherwise false.

Remarks

Automatic commit is supported for get, put, and delete operations.

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