ResultObjectsManager.Get Method (ReportProgress)
Gets the complete and most recent version of the result collection from 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.Get(progressReport)
Syntax
'Declaration
Public Sub Get ( _
progressReport As ReportProgress _
)
public void Get (
ReportProgress progressReport
)
public:
virtual void Get (
ReportProgress^ progressReport
) sealed
public final void Get (
ReportProgress progressReport
)
public final function Get (
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 refresh and automatic commit are supported for get operations. See AutoRefresh and 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
AutoCommit
AutoRefresh