ManagementGroup.GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId Method (Guid)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves a collection ofMonitoringSecureDataHealthServiceReferenceobjects given the RunAs profile identifier.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use Security.GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId()")]
public ReadOnlyCollection<MonitoringSecureDataHealthServiceReference> GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId(
Guid secureReferenceId
)
public:
[ObsoleteAttribute("Please use Security.GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId()")]
ReadOnlyCollection<MonitoringSecureDataHealthServiceReference^>^ GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId(
Guid secureReferenceId
)
[<ObsoleteAttribute("Please use Security.GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId()")>]
member GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId :
secureReferenceId:Guid -> ReadOnlyCollection<MonitoringSecureDataHealthServiceReference>
<ObsoleteAttribute("Please use Security.GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId()")>
Public Function GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId (
secureReferenceId As Guid
) As ReadOnlyCollection(Of MonitoringSecureDataHealthServiceReference)
Parameters
secureReferenceId
Type: System.GuidThe 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.
Remarks
This method helps you to determine which health services are using this profile, and which RunAs account each health service uses.
Examples
The following example uses theGetMonitoringSecureDataHealthServiceReferenceBySecureReferenceIdmethod to enumerate RunAs profiles and their contents.
See Also
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top