ResultObjectsManager.Put Method (ReportProgress)
Saves the result collection to the database, and provides a progress report.
Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)
Usage
'Usage
Dim instance As ResultObjectsManager
Dim progressReport As ReportProgress
instance.Put(progressReport)
Syntax
'Declaration
Public Sub Put ( _
progressReport As ReportProgress _
)
public void Put (
ReportProgress progressReport
)
public:
virtual void Put (
ReportProgress^ progressReport
) sealed
public final void Put (
ReportProgress progressReport
)
public final function Put (
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
Reference
ResultObjectsManager Class
ResultObjectsManager Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
ReportProgress Delegate
AutoCommit