Compartir a través de


ResultObjectsManager.SetArrayItems Method

Sets the array items for the specified property.

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

Usage

'Usage
Dim instance As ResultObjectsManager
Dim propertyName As String
Dim value As List(Of IResultObject)

instance.SetArrayItems(propertyName, value)

Syntax

'Declaration
Public Sub SetArrayItems ( _
    propertyName As String, _
    value As List(Of IResultObject) _
)
public void SetArrayItems (
    string propertyName,
    List<IResultObject> value
)
public:
virtual void SetArrayItems (
    String^ propertyName, 
    List<IResultObject^>^ value
) sealed
public final void SetArrayItems (
    String propertyName, 
    List<IResultObject> value
)
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

Reference

ResultObjectsManager Class
ResultObjectsManager Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace
IResultObject Interface