Compartilhar via


ResultObjectsManager.Delete Method (ReportProgress)

Deletes the result collection, and reports progress.

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

Usage

'Usage
Dim instance As ResultObjectsManager
Dim progressReport As ReportProgress

instance.Delete(progressReport)

Syntax

'Declaration
Public Sub Delete ( _
    progressReport As ReportProgress _
)
public void Delete (
    ReportProgress progressReport
)
public:
virtual void Delete (
    ReportProgress^ progressReport
) sealed
public final void Delete (
    ReportProgress progressReport
)
public final function Delete (
    progressReport : ReportProgress
)

Parameters

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

Reference

ResultObjectsManager Class
ResultObjectsManager Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
ReportProgress Delegate
AutoCommit