IConnectorFramework.Setup Method

Updated: April 16, 2012

Sets up a new monitoring connector with the specified ConnectorInfo information and returns the monitoring connector identifier. Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As IConnectorFramework Dim connectorInfo As ConnectorInfo Dim returnValue As Guid returnValue = instance.Setup(connectorInfo)<FaultContractAttribute(GetType(ServiceNotRunningException))> _ <FaultContractAttribute(GetType(UnknownDatabaseException))> _ <FaultContractAttribute(GetType(InvalidDatabaseDataException))> _ <FaultContractAttribute(GetType(ConnectorAlreadyExistsException))> _ <FaultContractAttribute(GetType(ArgumentNullException))> _ <FaultContractAttribute(GetType(ArgumentOutOfRangeException))> _ <FaultContractAttribute(GetType(TimeoutException))> _ <FaultContractAttribute(GetType(ServerDisconnectedException))> _ <OperationContractAttribute> _ <FaultContractAttribute(GetType(UnknownServiceException))> _ <FaultContractAttribute(GetType(UnknownChannelException))> _ <FaultContractAttribute(GetType(UnauthorizedAccessEnterpriseManagementException))> _ <FaultContractAttribute(GetType(UnknownAuthorizationStoreException))> _ Function Setup ( _ connectorInfo As ConnectorInfo _ ) As Guid[FaultContractAttribute(typeof(ServiceNotRunningException))] [FaultContractAttribute(typeof(UnknownDatabaseException))] [FaultContractAttribute(typeof(InvalidDatabaseDataException))] [FaultContractAttribute(typeof(ConnectorAlreadyExistsException))] [FaultContractAttribute(typeof(ArgumentNullException))] [FaultContractAttribute(typeof(ArgumentOutOfRangeException))] [FaultContractAttribute(typeof(TimeoutException))] [FaultContractAttribute(typeof(ServerDisconnectedException))] [OperationContractAttribute] [FaultContractAttribute(typeof(UnknownServiceException))] [FaultContractAttribute(typeof(UnknownChannelException))] [FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))] [FaultContractAttribute(typeof(UnknownAuthorizationStoreException))] Guid Setup ( ConnectorInfo connectorInfo )[FaultContractAttribute(typeof(ServiceNotRunningException))] [FaultContractAttribute(typeof(UnknownDatabaseException))] [FaultContractAttribute(typeof(InvalidDatabaseDataException))] [FaultContractAttribute(typeof(ConnectorAlreadyExistsException))] [FaultContractAttribute(typeof(ArgumentNullException))] [FaultContractAttribute(typeof(ArgumentOutOfRangeException))] [FaultContractAttribute(typeof(TimeoutException))] [FaultContractAttribute(typeof(ServerDisconnectedException))] [OperationContractAttribute] [FaultContractAttribute(typeof(UnknownServiceException))] [FaultContractAttribute(typeof(UnknownChannelException))] [FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))] [FaultContractAttribute(typeof(UnknownAuthorizationStoreException))] Guid Setup ( ConnectorInfo^ connectorInfo )/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServiceNotRunningException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.InvalidDatabaseDataException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ConnectorAlreadyExistsException) */ /** @attribute FaultContractAttribute(System.ArgumentNullException) */ /** @attribute FaultContractAttribute(System.ArgumentOutOfRangeException) */ /** @attribute FaultContractAttribute(System.TimeoutException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServerDisconnectedException) */ /** @attribute OperationContractAttribute() */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownServiceException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownChannelException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException) */ /** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException) */ Guid Setup ( ConnectorInfo connectorInfo )FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServiceNotRunningException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.InvalidDatabaseDataException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ConnectorAlreadyExistsException) FaultContractAttribute(System.ArgumentNullException) FaultContractAttribute(System.ArgumentOutOfRangeException) FaultContractAttribute(System.TimeoutException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServerDisconnectedException) OperationContractAttribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownServiceException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownChannelException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException) FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException) function Setup ( connectorInfo : ConnectorInfo ) : GuidParametersconnectorInfoThe ConnectorInfo object that contains the information for the monitoring connector to be inserted.Return ValueReturns the new Guid globally unique identifier (GUID) for the connector that is used in future method calls.

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


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms