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 IResultObject
Dim propertyName As String
Dim value As List(Of IResultObject)
instance.SetArrayItems(propertyName, value)
|
Syntax
Visual Basic |
Sub SetArrayItems ( _
propertyName As String, _
value As List(Of IResultObject) _
)
|
C# |
void SetArrayItems (
string propertyName,
List<IResultObject> value
)
|
C++ |
void SetArrayItems (
String^ propertyName,
List<IResultObject^>^ value
)
|
J# |
void SetArrayItems (
String propertyName,
List<IResultObject> value
)
|
JScript |
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