Freigeben über


IResultObject.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 IResultObject
Dim propertyName As String
Dim value As List(Of IResultObject)

instance.SetArrayItems(propertyName, value)

Syntax

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

IResultObject Interface
IResultObject Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace