Deletes the result collection, and reports progress. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim instance As ResultObjectsManager
Dim progressReport As ReportProgress

instance.Delete(progressReport)

Syntax

Visual Basic
Public Sub Delete ( _
		progressReport As ReportProgress _
)
C#
public void Delete (
		ReportProgress progressReport
)
C++
public:
virtual void Delete (
		ReportProgress^ progressReport
) sealed
J#
public final void Delete (
		ReportProgress progressReport
)
JScript
public final function Delete (
		progressReport : ReportProgress
)

Parameters

progressReport

[in] ReportProgress delegate for the report.

Exceptions

Exception type Condition
SmsMultipleResultException

One or more objects failed this operation.

OperationCanceledException

The operation was canceled before it completed.

SmsQueryException

An exception was received from the underlying System.Management namespace, and the operation cannot be completed.

SmsConnectionException

The connection to the configuration store has been interrupted and cannot be completed.

Remarks

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


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