ManagementGroup::GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId Method (Guid)
System Center
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.Namespace:
Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Return to top
Retrieves a collection ofMonitoringSecureDataHealthServiceReferenceobjects given the RunAs profile identifier.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public: [ObsoleteAttribute("Please use Security.GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId()")] ReadOnlyCollection<MonitoringSecureDataHealthServiceReference^>^ GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId( Guid secureReferenceId )
Parameters
- secureReferenceId
-
Type:
System::Guid
The secure reference identifier for the secure data health service reference object to get.
Return Value
Type: System.Collections.ObjectModel::ReadOnlyCollection<MonitoringSecureDataHealthServiceReference^>^Returns aReadOnlyCollection<T> ofMonitoringSecureDataHealthServiceReference objects.
This method helps you to determine which health services are using this profile, and which RunAs account each health service uses.
The following example uses theGetMonitoringSecureDataHealthServiceReferenceBySecureReferenceIdmethod to enumerate RunAs profiles and their contents.
Show: