Partager via


ResultObjectsManager.ContainsObjectClass Method

Determines whether the result collection contains the specified object class.

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

Usage

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

returnValue = instance.ContainsObjectClass(type)

Syntax

'Declaration
Public Function ContainsObjectClass ( _
    type As String _
) As Boolean
public bool ContainsObjectClass (
    string type
)
public:
virtual bool ContainsObjectClass (
    String^ type
) sealed
public final boolean ContainsObjectClass (
    String type
)
public final function ContainsObjectClass (
    type : String
) : boolean

Parameters

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

Return Value

true if the result collection 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

ResultObjectsManager Class
ResultObjectsManager Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace