Partager via


CimSession.EnumerateAssociatedInstances Method

Definition

Overloads

EnumerateAssociatedInstances(String, CimInstance, String, String, String, String)
EnumerateAssociatedInstances(String, CimInstance, String, String, String, String, CimOperationOptions)

EnumerateAssociatedInstances(String, CimInstance, String, String, String, String)

public:
 System::Collections::Generic::IEnumerable<Microsoft::Management::Infrastructure::CimInstance ^> ^ EnumerateAssociatedInstances(System::String ^ namespaceName, Microsoft::Management::Infrastructure::CimInstance ^ sourceInstance, System::String ^ associationClassName, System::String ^ resultClassName, System::String ^ sourceRole, System::String ^ resultRole);
public System.Collections.Generic.IEnumerable<Microsoft.Management.Infrastructure.CimInstance> EnumerateAssociatedInstances (string namespaceName, Microsoft.Management.Infrastructure.CimInstance sourceInstance, string associationClassName, string resultClassName, string sourceRole, string resultRole);
member this.EnumerateAssociatedInstances : string * Microsoft.Management.Infrastructure.CimInstance * string * string * string * string -> seq<Microsoft.Management.Infrastructure.CimInstance>
Public Function EnumerateAssociatedInstances (namespaceName As String, sourceInstance As CimInstance, associationClassName As String, resultClassName As String, sourceRole As String, resultRole As String) As IEnumerable(Of CimInstance)

Parameters

namespaceName
String
sourceInstance
CimInstance
associationClassName
String
resultClassName
String
sourceRole
String
resultRole
String

Returns

Applies to

EnumerateAssociatedInstances(String, CimInstance, String, String, String, String, CimOperationOptions)

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

Parameters

namespaceName
String
sourceInstance
CimInstance
associationClassName
String
resultClassName
String
sourceRole
String
resultRole
String

Returns

Applies to