IConnectorFramework.Setup(ConnectorInfo) 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 connector.
public:
Guid Setup(Microsoft::EnterpriseManagement::ConnectorFramework::ConnectorInfo ^ connectorInfo);
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ServiceNotRunningException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.InvalidDatabaseDataException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ConnectorAlreadyExistsException))]
[System.ServiceModel.FaultContract(typeof(System.ArgumentNullException))]
[System.ServiceModel.FaultContract(typeof(System.ArgumentOutOfRangeException))]
[System.ServiceModel.FaultContract(typeof(System.TimeoutException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ServerDisconnectedException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownServiceException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownChannelException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException))]
[System.ServiceModel.OperationContract]
public Guid Setup (Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorInfo connectorInfo);
abstract member Setup : Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorInfo -> Guid
Public Function Setup (connectorInfo As ConnectorInfo) As Guid
Parameters
- connectorInfo
- ConnectorInfo
The forwardee info structure that represents connector settings.
Returns
The connector id that will identify this connector.
- Attributes
Remarks
The Setup must be performed before the monitoring connector is initialized and used.