IConnectorFramework.SetupWithConnectorId Method (ConnectorInfo, Guid)
Applies To: Operations Manager for System Center 2012
Sets up a new monitoring connector with the specified ConnectorInfo information using the specified connectorId.
Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[FaultContractAttribute(typeof(ServerDisconnectedException))]
[FaultContractAttribute(typeof(UnknownAuthorizationStoreException))]
[FaultContractAttribute(typeof(UnknownDatabaseException))]
[FaultContractAttribute(typeof(ArgumentOutOfRangeException))]
[FaultContractAttribute(typeof(TimeoutException))]
[OperationContractAttribute]
[FaultContractAttribute(typeof(ServiceNotRunningException))]
[FaultContractAttribute(typeof(UnknownServiceException))]
[FaultContractAttribute(typeof(UnknownChannelException))]
[FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))]
[FaultContractAttribute(typeof(InvalidDatabaseDataException))]
[FaultContractAttribute(typeof(ConnectorAlreadyExistsException))]
[FaultContractAttribute(typeof(ArgumentNullException))]
void SetupWithConnectorId(
ConnectorInfo connectorInfo,
Guid connectorId
)
[FaultContractAttribute((ServerDisconnectedException^::typeid))]
[FaultContractAttribute((UnknownAuthorizationStoreException^::typeid))]
[FaultContractAttribute((UnknownDatabaseException^::typeid))]
[FaultContractAttribute((ArgumentOutOfRangeException^::typeid))]
[FaultContractAttribute((TimeoutException^::typeid))]
[OperationContractAttribute]
[FaultContractAttribute((ServiceNotRunningException^::typeid))]
[FaultContractAttribute((UnknownServiceException^::typeid))]
[FaultContractAttribute((UnknownChannelException^::typeid))]
[FaultContractAttribute((UnauthorizedAccessEnterpriseManagementException^::typeid))]
[FaultContractAttribute((InvalidDatabaseDataException^::typeid))]
[FaultContractAttribute((ConnectorAlreadyExistsException^::typeid))]
[FaultContractAttribute((ArgumentNullException^::typeid))]
void SetupWithConnectorId(
ConnectorInfo^ connectorInfo,
Guid connectorId
)
[<FaultContractAttribute(typeof(ServerDisconnectedException))>]
[<FaultContractAttribute(typeof(UnknownAuthorizationStoreException))>]
[<FaultContractAttribute(typeof(UnknownDatabaseException))>]
[<FaultContractAttribute(typeof(ArgumentOutOfRangeException))>]
[<FaultContractAttribute(typeof(TimeoutException))>]
[<OperationContractAttribute>]
[<FaultContractAttribute(typeof(ServiceNotRunningException))>]
[<FaultContractAttribute(typeof(UnknownServiceException))>]
[<FaultContractAttribute(typeof(UnknownChannelException))>]
[<FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))>]
[<FaultContractAttribute(typeof(InvalidDatabaseDataException))>]
[<FaultContractAttribute(typeof(ConnectorAlreadyExistsException))>]
[<FaultContractAttribute(typeof(ArgumentNullException))>]
abstract SetupWithConnectorId :
connectorInfo:ConnectorInfo *
connectorId:Guid -> unit
<FaultContractAttribute(GetType(ServerDisconnectedException))>
<FaultContractAttribute(GetType(UnknownAuthorizationStoreException))>
<FaultContractAttribute(GetType(UnknownDatabaseException))>
<FaultContractAttribute(GetType(ArgumentOutOfRangeException))>
<FaultContractAttribute(GetType(TimeoutException))>
<OperationContractAttribute>
<FaultContractAttribute(GetType(ServiceNotRunningException))>
<FaultContractAttribute(GetType(UnknownServiceException))>
<FaultContractAttribute(GetType(UnknownChannelException))>
<FaultContractAttribute(GetType(UnauthorizedAccessEnterpriseManagementException))>
<FaultContractAttribute(GetType(InvalidDatabaseDataException))>
<FaultContractAttribute(GetType(ConnectorAlreadyExistsException))>
<FaultContractAttribute(GetType(ArgumentNullException))>
Sub SetupWithConnectorId (
connectorInfo As ConnectorInfo,
connectorId As Guid
)
Parameters
connectorInfo
Type: Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorInfoThe ConnectorInfo object that contains the information for the monitoring connector to be inserted.
connectorId
Type: System.GuidThe globally unique identifier (GUID) for the connector that is used in future method calls.
Remarks
The SetupWithConnectorId must be performed before the monitoring connector is initialized and used.
See Also
IConnectorFramework Interface
Microsoft.EnterpriseManagement.ConnectorFramework Namespace
Return to top