IConnectorFramework.SetupWithConnectorId(ConnectorInfo, Guid) Method

Definition

Sets up a new connector.

C#
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ServerDisconnectedException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException))]
[System.ServiceModel.FaultContract(typeof(System.ArgumentOutOfRangeException))]
[System.ServiceModel.FaultContract(typeof(System.TimeoutException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ServiceNotRunningException))]
[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.InvalidDatabaseDataException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ConnectorAlreadyExistsException))]
[System.ServiceModel.FaultContract(typeof(System.ArgumentNullException))]
[System.ServiceModel.OperationContract]
public void SetupWithConnectorId (Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorInfo connectorInfo, Guid connectorId);

Parameters

connectorInfo
ConnectorInfo

The forwardee info structure that represents connector settings.

connectorId
Guid

The connector id to use in identifing this connector. (Used mainly for tiering)

Attributes

Remarks

The SetupWithConnectorId must be performed before the monitoring connector is initialized and used.

Applies to

製品 バージョン
System Center OM SDK 2012, 2016, 2019