ConnectorFrameworkAdministration.Setup 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.
Sets up a new monitoring connector.
Overloads
Setup(ConnectorInfo) |
Sets up a new connector. |
Setup(ConnectorInfo, Guid) |
Sets up a new connector. |
Remarks
Before using the monitoring connector, you must call Initialize.
Calling one of the overloaded methods returns a MonitoringConnector that identifies this monitoring connector in the Operation Manager.
Setup(ConnectorInfo)
Sets up a new connector.
public:
Microsoft::EnterpriseManagement::ConnectorFramework::MonitoringConnector ^ Setup(Microsoft::EnterpriseManagement::ConnectorFramework::ConnectorInfo ^ connectorInfo);
public Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnector Setup (Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorInfo connectorInfo);
member this.Setup : Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorInfo -> Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnector
Public Function Setup (connectorInfo As ConnectorInfo) As MonitoringConnector
Parameters
- connectorInfo
- ConnectorInfo
The connector info object.
Returns
The connector object.
Examples
See ConnectorFrameworkAdministration for an example of the Setup
method.
Remarks
Before using the monitoring connector, you must call Initialize.
Applies to
Setup(ConnectorInfo, Guid)
Sets up a new connector.
public:
Microsoft::EnterpriseManagement::ConnectorFramework::MonitoringConnector ^ Setup(Microsoft::EnterpriseManagement::ConnectorFramework::ConnectorInfo ^ connectorInfo, Guid connectorId);
public Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnector Setup (Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorInfo connectorInfo, Guid connectorId);
member this.Setup : Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorInfo * Guid -> Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnector
Public Function Setup (connectorInfo As ConnectorInfo, connectorId As Guid) As MonitoringConnector
Parameters
- connectorInfo
- ConnectorInfo
The connector info object.
- connectorId
- Guid
The connector id.
Returns
The connector object.
Remarks
Before using the monitoring connector, you must call Initialize.
This overload allows you to specify a unique identifier for the monitoring connector rather than having the Operations Manager pick a unique identifier.