Freigeben über


ManagementGroup.GetMonitoringSecureDataHealthServiceReferenceByHealthServiceId Method (Nullable<Guid>)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of MonitoringSecureDataHealthServiceReference objects from the specified health service identifier.

Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Please use Security.GetMonitoringSecureDataHealthServiceReferenceByHealthServiceId()")]
public ReadOnlyCollection<MonitoringSecureDataHealthServiceReference> GetMonitoringSecureDataHealthServiceReferenceByHealthServiceId(
    Nullable<Guid> healthServiceId
)
public:
[ObsoleteAttribute("Please use Security.GetMonitoringSecureDataHealthServiceReferenceByHealthServiceId()")]
ReadOnlyCollection<MonitoringSecureDataHealthServiceReference^>^ GetMonitoringSecureDataHealthServiceReferenceByHealthServiceId(
    Nullable<Guid> healthServiceId
)
[<ObsoleteAttribute("Please use Security.GetMonitoringSecureDataHealthServiceReferenceByHealthServiceId()")>]
member GetMonitoringSecureDataHealthServiceReferenceByHealthServiceId : 
        healthServiceId:Nullable<Guid> -> ReadOnlyCollection<MonitoringSecureDataHealthServiceReference>
<ObsoleteAttribute("Please use Security.GetMonitoringSecureDataHealthServiceReferenceByHealthServiceId()")>
Public Function GetMonitoringSecureDataHealthServiceReferenceByHealthServiceId (
    healthServiceId As Nullable(Of Guid)
) As ReadOnlyCollection(Of MonitoringSecureDataHealthServiceReference)

Parameters

  • healthServiceId
    Type: System.Nullable<Guid>

    The health service identifier for the secure data health service reference object to get.

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringSecureDataHealthServiceReference>

Returns aReadOnlyCollection<T> object of MonitoringSecureDataHealthServiceReference objects.

Remarks

The GetMonitoringSecureDataHealthServiceReferenceByHealthServiceIdmethod helps you to determine which profiles and which profile RunAs account the health service uses.

Examples

The following example demonstrates a use of the GetMonitoringSecureDataHealthServiceReferenceByHealthServiceIdmethod.

See Also

ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top