Sets the array items for the specified property. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim instance As ResultObjectsManager
Dim propertyName As String
Dim value As List(Of IResultObject)

instance.SetArrayItems(propertyName, value)

Syntax

Visual Basic
Public Sub SetArrayItems ( _
		propertyName As String, _
		value As List(Of IResultObject) _
)
C#
public void SetArrayItems (
		string propertyName,
		List<IResultObject> value
)
C++
public:
virtual void SetArrayItems (
		String^ propertyName, 
		List<IResultObject^>^ value
) sealed
J#
public final void SetArrayItems (
		String propertyName, 
		List<IResultObject> value
)
JScript
public final function SetArrayItems (
		propertyName : String, 
		value : List<IResultObject>
)

Parameters

propertyName

[in] Name of the property.

value

[in] System.Collections.Generic.List object that represents IResultObject interfaces for getting and setting result object properties.

Exceptions

Exception type Condition
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.

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