次の方法で共有


InstallAgentConfiguration Class

 

Applies To: Operations Manager for System Center 2012

Represents a configuration to use when installing agents on Windows-based computers.

Namespace:   Microsoft.EnterpriseManagement.Administration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Inheritance Hierarchy

System.Object
  Microsoft.EnterpriseManagement.Administration.InstallAgentConfiguration

Syntax

public class InstallAgentConfiguration : IDisposable
public ref class InstallAgentConfiguration : IDisposable
type InstallAgentConfiguration = 
    class
        interface IDisposable
    end
Public Class InstallAgentConfiguration
    Implements IDisposable

Constructors

Name Description
System_CAPS_pubmethod InstallAgentConfiguration()

Initializes the InstallAgentConfiguration class.

Properties

Name Description
System_CAPS_pubproperty InstallPath

Gets or sets the path where the agent is installed on the managed computer.

System_CAPS_pubproperty IsDefaultActionAccount

Gets a value that indicates whether the configuration uses the Management Server's default action account for discovery.

System_CAPS_pubproperty UseDefaultAgentAccount

Gets a value that indicates whether the installed agent uses the default account for agent operations.

System_CAPS_pubproperty UseDefaultAgentInstallAccount

Gets a value that indicates whether the configuration uses the default account for agent installation.

Methods

Name Description
System_CAPS_pubmethod Dispose()

Releases the resources used by the InstallAgentConfiguration object.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

Frees the resources of the current InstallAgentConfiguration object before it is reclaimed by the garbage collector.(Overrides Object.Finalize().)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ResetActionAccount()

Sets the configuration to perform discovery using the default account.

System_CAPS_pubmethod ResetAgentAccount()

Sets the installed agent to use the default account for agent operations.

System_CAPS_pubmethod ResetAgentInstallAccount()

Sets the configuration to use the default account for agent installation.

System_CAPS_pubmethod SetActionAccount(String, String, SecureString)

Sets the credentials that are used to discover the computers to which agents are deployed.

System_CAPS_pubmethod SetAgentAccount(String, String, SecureString)

Sets the account used by the agent when the agent runs.

System_CAPS_pubmethod SetInstallAccount(String, String, SecureString)

Sets the account used by to install the agent.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Examples

M:Microsoft.EnterpriseManagement.Administration.ManagementServer.SubmitInstallAgents(System.Collections.ObjectModel.ReadOnlyCollection{Microsoft.EnterpriseManagement.Monitoring.CustomMonitoringObject},System.Collections.ObjectModel.ReadOnlyCollection{Microsoft.EnterpriseManagement.Administration.ManagementServer},Microsoft.EnterpriseManagement.Administration.InstallAgentConfiguration,Microsoft.EnterpriseManagement.MonitoringTaskStatusChangeCallback)

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.

See Also

Microsoft.EnterpriseManagement.Administration Namespace

Return to top