Share via


IResultObject.ContainsObjectClass Method

Determines whether the result object contains the specified object class.

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

Usage

'Usage
Dim instance As IResultObject
Dim type As String
Dim returnValue As Boolean

returnValue = instance.ContainsObjectClass(type)

Syntax

'Declaration
Function ContainsObjectClass ( _
    type As String _
) As Boolean
bool ContainsObjectClass (
    string type
)
bool ContainsObjectClass (
    String^ type
)
boolean ContainsObjectClass (
    String type
)
function ContainsObjectClass (
    type : String
) : boolean

Parameters

  • type
    [in] Object class for which to search.

Return Value

true if the result object contains the specified object class; otherwise false.

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