次の方法で共有


ManagementGroup.ApproveCredentialForDistribution Generic Method

Approves a secure credential for distribution to a list of MonitoringObject objects or PartialMonitoringObject objects. Calling this method adds the specified list to the already existing approved list in the system.

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

Usage

'Usage
Dim instance As ManagementGroup
Dim securedData As ISecuredData
Dim healthServiceList As IList(Of T)

instance.ApproveCredentialForDistribution(securedData, healthServiceList)

Syntax

'Declaration
Public Sub ApproveCredentialForDistribution(Of T) ( _
    securedData As ISecuredData, _
    healthServiceList As IList(Of T) _
)
public void ApproveCredentialForDistribution<T> (
    ISecuredData securedData,
    IList<T> healthServiceList
)
public:
generic<typename T>
void ApproveCredentialForDistribution (
    ISecuredData^ securedData, 
    IList<T>^ healthServiceList
)

GenericParameters

Parameters

  • securedData
    The secure credential as an ISecuredData object.
  • healthServiceList
    An IList object that contains either MonitoringObject objects or PartialMonitoringObject objects.

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.