ManagementGroup.GetMonitoringSecureData 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.
Retrieves secure data objects.
Overloads
GetMonitoringSecureData() |
Obsolete.
Gets all the secure data the user has access to. |
GetMonitoringSecureData(MonitoringSecureDataCriteria) |
Obsolete.
Gets all the secure data the user has access to. |
GetMonitoringSecureData(Byte[]) |
Obsolete.
Gets the secure data by id. |
GetMonitoringSecureData(Guid) |
Obsolete.
Gets the secure data by id. |
GetMonitoringSecureData()
Caution
Please use Security.GetSecureData()
Gets all the secure data the user has access to.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::Security::MonitoringSecureData ^> ^ GetMonitoringSecureData();
[System.Obsolete("Please use Security.GetSecureData()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringSecureData> GetMonitoringSecureData ();
member this.GetMonitoringSecureData : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringSecureData>
Public Function GetMonitoringSecureData () As ReadOnlyCollection(Of MonitoringSecureData)
Returns
Returns a collection of secure data objects.
- Attributes
Examples
The following example uses the GetMonitoringSecureDatamethod to enumerate RunAs accounts.
Applies to
GetMonitoringSecureData(MonitoringSecureDataCriteria)
Caution
Please use Security.GetSecureData()
Gets all the secure data the user has access to.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::Security::MonitoringSecureData ^> ^ GetMonitoringSecureData(Microsoft::EnterpriseManagement::Configuration::MonitoringSecureDataCriteria ^ criteria);
[System.Obsolete("Please use Security.GetSecureData()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringSecureData> GetMonitoringSecureData (Microsoft.EnterpriseManagement.Configuration.MonitoringSecureDataCriteria criteria);
member this.GetMonitoringSecureData : Microsoft.EnterpriseManagement.Configuration.MonitoringSecureDataCriteria -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringSecureData>
Public Function GetMonitoringSecureData (criteria As MonitoringSecureDataCriteria) As ReadOnlyCollection(Of MonitoringSecureData)
Parameters
- criteria
- MonitoringSecureDataCriteria
The criteria.
Returns
Returns a collection of secure data objects.
- Attributes
Applies to
GetMonitoringSecureData(Byte[])
Caution
Please use Security.GetSecureData()
Gets the secure data by id.
public:
Microsoft::EnterpriseManagement::Monitoring::Security::MonitoringSecureData ^ GetMonitoringSecureData(cli::array <System::Byte> ^ secureStorageId);
[System.Obsolete("Please use Security.GetSecureData()")]
public Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringSecureData GetMonitoringSecureData (byte[] secureStorageId);
member this.GetMonitoringSecureData : byte[] -> Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringSecureData
Public Function GetMonitoringSecureData (secureStorageId As Byte()) As MonitoringSecureData
Parameters
- secureStorageId
- Byte[]
Returns
Returns the secure data.
- Attributes
Applies to
GetMonitoringSecureData(Guid)
Caution
Please use Security.GetSecureData()
Gets the secure data by id.
public:
Microsoft::EnterpriseManagement::Monitoring::Security::MonitoringSecureData ^ GetMonitoringSecureData(Guid id);
[System.Obsolete("Please use Security.GetSecureData()")]
public Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringSecureData GetMonitoringSecureData (Guid id);
member this.GetMonitoringSecureData : Guid -> Microsoft.EnterpriseManagement.Monitoring.Security.MonitoringSecureData
Public Function GetMonitoringSecureData (id As Guid) As MonitoringSecureData
Parameters
- id
- Guid
The GUID of the secure data object to get.
Returns
Returns the secure data.
- Attributes