Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
Visual Basic |
---|
Dim instance As PartialMonitoringObject Dim criteria As MonitoringRelationshipObjectGenericCriteria Dim returnValue As ReadOnlyCollection(Of MonitoringRelationshipObject) returnValue = instance.GetMonitoringRelationshipObjectsWhereSource(criteria) |
Syntax
Visual Basic |
---|
Public Function GetMonitoringRelationshipObjectsWhereSource ( _ criteria As MonitoringRelationshipObjectGenericCriteria _ ) As ReadOnlyCollection(Of MonitoringRelationshipObject) |
C# |
---|
public ReadOnlyCollection<MonitoringRelationshipObject> GetMonitoringRelationshipObjectsWhereSource ( MonitoringRelationshipObjectGenericCriteria criteria ) |
C++ |
---|
public: ReadOnlyCollection<MonitoringRelationshipObject^>^ GetMonitoringRelationshipObjectsWhereSource ( MonitoringRelationshipObjectGenericCriteria^ criteria ) |
J# |
---|
public ReadOnlyCollection<MonitoringRelationshipObject> GetMonitoringRelationshipObjectsWhereSource ( MonitoringRelationshipObjectGenericCriteria criteria ) |
JScript |
---|
public function GetMonitoringRelationshipObjectsWhereSource ( criteria : MonitoringRelationshipObjectGenericCriteria ) : ReadOnlyCollection<MonitoringRelationshipObject> |
Parameters
- criteria
-
A value that specifies the kind of monitoring relationship objects.
Return Value
A read-only collection of MonitoringRelationshipObject objects.Remarks
Gets the relationships of which this partial monitoring object is a source in the relationship that meet the criteria filter.
You can iterate through the collection to obtain any specific MonitoringRelationshipObject.
The criteria is used to identify monitoring relationships that will pass through the filter. Monitoring relationships within the returned collection meet this filter requirement.
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.