CimSession.EnumerateInstances Method

Definition

Overloads

EnumerateInstances(String, String)
EnumerateInstances(String, String, CimOperationOptions)

EnumerateInstances(String, String)

public:
 System::Collections::Generic::IEnumerable<Microsoft::Management::Infrastructure::CimInstance ^> ^ EnumerateInstances(System::String ^ namespaceName, System::String ^ className);
public System.Collections.Generic.IEnumerable<Microsoft.Management.Infrastructure.CimInstance> EnumerateInstances (string namespaceName, string className);
member this.EnumerateInstances : string * string -> seq<Microsoft.Management.Infrastructure.CimInstance>
Public Function EnumerateInstances (namespaceName As String, className As String) As IEnumerable(Of CimInstance)

Parameters

namespaceName
String
className
String

Returns

Applies to

EnumerateInstances(String, String, CimOperationOptions)

public:
 System::Collections::Generic::IEnumerable<Microsoft::Management::Infrastructure::CimInstance ^> ^ EnumerateInstances(System::String ^ namespaceName, System::String ^ className, Microsoft::Management::Infrastructure::Options::CimOperationOptions ^ options);
public System.Collections.Generic.IEnumerable<Microsoft.Management.Infrastructure.CimInstance> EnumerateInstances (string namespaceName, string className, Microsoft.Management.Infrastructure.Options.CimOperationOptions options);
member this.EnumerateInstances : string * string * Microsoft.Management.Infrastructure.Options.CimOperationOptions -> seq<Microsoft.Management.Infrastructure.CimInstance>
Public Function EnumerateInstances (namespaceName As String, className As String, options As CimOperationOptions) As IEnumerable(Of CimInstance)

Parameters

namespaceName
String
className
String

Returns

Applies to