次の方法で共有


ManagementServer.AddAgentAssignment Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Adds an agent assignment rule to the management server.

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

Usage

'Usage
Dim instance As ManagementServer
Dim assignment As AgentAssignment

instance.AddAgentAssignment(assignment)

Syntax

'Declaration
Public Sub AddAgentAssignment ( _
    assignment As AgentAssignment _
)
public void AddAgentAssignment (
    AgentAssignment assignment
)
public:
void AddAgentAssignment (
    AgentAssignment^ assignment
)
public void AddAgentAssignment (
    AgentAssignment assignment
)
public function AddAgentAssignment (
    assignment : AgentAssignment
)

Parameters

  • assignment
    The agent assignment to add.

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 Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

ManagementServer Class
ManagementServer Members
Microsoft.EnterpriseManagement.Administration Namespace
DeleteAgentAssignment