次の方法で共有


ManagementGroup.SetApprovedHealthServicesForDistribution Generic Method

Approve or decline a secure credential for distribution to a list of either MonitoringObject objects or PartialMonitoringObject objects.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim instance As ManagementGroup
Dim securedData As ISecuredData
Dim newState As IApprovedHealthServicesForDistribution(Of T)

instance.SetApprovedHealthServicesForDistribution(securedData, newState)

Syntax

'Declaration
Public Sub SetApprovedHealthServicesForDistribution(Of T) ( _
    securedData As ISecuredData, _
    newState As IApprovedHealthServicesForDistribution(Of T) _
)
public void SetApprovedHealthServicesForDistribution<T> (
    ISecuredData securedData,
    IApprovedHealthServicesForDistribution<T> newState
)
public:
generic<typename T>
void SetApprovedHealthServicesForDistribution (
    ISecuredData^ securedData, 
    IApprovedHealthServicesForDistribution<T>^ newState
)

GenericParameters

  • T

Parameters

  • securedData
    An object implementation of the ISecuredData interface.

Remarks

If the current state is All, calling SetApprovedHealthServicesForDistribution with a list of MonitoringObject objects will not change the state to Specified.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

ManagementGroup Class
ManagementGroup Members
Microsoft.EnterpriseManagement Namespace

Send comments about this topic to Microsoft.