ManagementGroup.GetMonitoringSecureDataHealthServiceReferenceByHealthServiceId Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Please use Security.GetMonitoringSecureDataHealthServiceReferenceByHealthServiceId()
Gets the secure references by id of the health service.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::Security::MonitoringSecureDataHealthServiceReference ^> ^ GetMonitoringSecureDataHealthServiceReferenceByHealthServiceId(Nullable<Guid> healthServiceId);
[System.Obsolete("Please use Security.GetMonitoringSecureDataHealthServiceReferenceByHealthServiceId()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringSecureDataHealthServiceReference> GetMonitoringSecureDataHealthServiceReferenceByHealthServiceId (Guid? healthServiceId);
member this.GetMonitoringSecureDataHealthServiceReferenceByHealthServiceId : Nullable<Guid> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringSecureDataHealthServiceReference>
Public Function GetMonitoringSecureDataHealthServiceReferenceByHealthServiceId (healthServiceId As Nullable(Of Guid)) As ReadOnlyCollection(Of MonitoringSecureDataHealthServiceReference)
Parameters
Returns
Returns the secure references.
- Attributes
Examples
The following example demonstrates a use of the GetMonitoringSecureDataHealthServiceReferenceByHealthServiceIdmethod.
Remarks
The GetMonitoringSecureDataHealthServiceReferenceByHealthServiceIdmethod helps you to determine which profiles and which profile RunAs account the health service uses.