共用方式為


CimSession.EnumerateReferencingInstances Method

Definition

Overloads

EnumerateReferencingInstances(String, CimInstance, String, String)
EnumerateReferencingInstances(String, CimInstance, String, String, CimOperationOptions)

EnumerateReferencingInstances(String, CimInstance, String, String)

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

Parameters

namespaceName
String
sourceInstance
CimInstance
associationClassName
String
sourceRole
String

Returns

Applies to

EnumerateReferencingInstances(String, CimInstance, String, String, CimOperationOptions)

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

Parameters

namespaceName
String
sourceInstance
CimInstance
associationClassName
String
sourceRole
String

Returns

Applies to