Gets a single item that corresponds to the specified property name. 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 returnValue As IResultObject

returnValue = instance.GetSingleItem(propertyName)

Syntax

Visual Basic
Public Function GetSingleItem ( _
		propertyName As String _
) As IResultObject
C#
public IResultObject GetSingleItem (
		string propertyName
)
C++
public:
virtual IResultObject^ GetSingleItem (
		String^ propertyName
) sealed
J#
public final IResultObject GetSingleItem (
		String propertyName
)
JScript
public final function GetSingleItem (
		propertyName : String
) : IResultObject

Parameters

propertyName

[in] Name of a property.

Return Value

IResultObject interface for getting and setting result object properties.

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