Dela via


ResultObjectsManager Constructor (SmsNamedValuesDictionary, Int32)

Initializes a new instance of ResultObjectsManager with the specified named values and capacity.

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

Usage

'Usage
Dim namedValueDictionary As SmsNamedValuesDictionary
Dim capacity As Integer

Dim instance As New ResultObjectsManager(namedValueDictionary, capacity)

Syntax

'Declaration
Public Sub New ( _
    namedValueDictionary As SmsNamedValuesDictionary, _
    capacity As Integer _
)
public ResultObjectsManager (
    SmsNamedValuesDictionary namedValueDictionary,
    int capacity
)
public:
ResultObjectsManager (
    SmsNamedValuesDictionary^ namedValueDictionary, 
    int capacity
)
public ResultObjectsManager (
    SmsNamedValuesDictionary namedValueDictionary, 
    int capacity
)
public function ResultObjectsManager (
    namedValueDictionary : SmsNamedValuesDictionary, 
    capacity : int
)

Parameters

  • capacity
    [in] Number of result objects that the manager can support.

Remarks

Capacity is the initial capacity, or the number of individual IResultObject objects which are contained within this single ResultObjectsManager. The size will automatically grow, but performance is slightly improved if the size is known.

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
SmsNamedValuesDictionary