Share via


ManagementGroup.GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId Method

Definition

Caution

Please use Security.GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId()

Gets the secure references by id of the monitoring secure reference.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::Security::MonitoringSecureDataHealthServiceReference ^> ^ GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId(Guid secureReferenceId);
[System.Obsolete("Please use Security.GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringSecureDataHealthServiceReference> GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId (Guid secureReferenceId);
member this.GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId : Guid -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringSecureDataHealthServiceReference>
Public Function GetMonitoringSecureDataHealthServiceReferenceBySecureReferenceId (secureReferenceId As Guid) As ReadOnlyCollection(Of MonitoringSecureDataHealthServiceReference)

Parameters

secureReferenceId
Guid

The secure reference id.

Returns

Returns the secure references.

Attributes

Examples

The following example uses theGetMonitoringSecureDataHealthServiceReferenceBySecureReferenceIdmethod to enumerate RunAs profiles and their contents.

Remarks

This method helps you to determine which health services are using this profile, and which RunAs account each health service uses.

Applies to