IConnectorFramework.SetupWithConnectorId Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
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)
Usage
'Usage
Dim instance As IConnectorFramework
Dim connectorInfo As ConnectorInfo
Dim connectorId As Guid
instance.SetupWithConnectorId(connectorInfo, connectorId)
Syntax
'Declaration
<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 _
)
[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(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
)
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServerDisconnectedException) */
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException) */
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException) */
/** @attribute FaultContractAttribute(System.ArgumentOutOfRangeException) */
/** @attribute FaultContractAttribute(System.TimeoutException) */
/** @attribute OperationContractAttribute() */
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServiceNotRunningException) */
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownServiceException) */
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownChannelException) */
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException) */
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.InvalidDatabaseDataException) */
/** @attribute FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ConnectorAlreadyExistsException) */
/** @attribute FaultContractAttribute(System.ArgumentNullException) */
void SetupWithConnectorId (
ConnectorInfo connectorInfo,
Guid connectorId
)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServerDisconnectedException)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException)
FaultContractAttribute(System.ArgumentOutOfRangeException)
FaultContractAttribute(System.TimeoutException)
OperationContractAttribute
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ServiceNotRunningException)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownServiceException)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnknownChannelException)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.InvalidDatabaseDataException)
FaultContractAttribute(Microsoft.EnterpriseManagement.Common.ConnectorAlreadyExistsException)
FaultContractAttribute(System.ArgumentNullException)
function SetupWithConnectorId (
connectorInfo : ConnectorInfo,
connectorId : Guid
)
Parameters
- connectorInfo
The ConnectorInfo object that contains the information for the monitoring connector to be inserted.
- connectorId
The 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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
IConnectorFramework Interface
IConnectorFramework Members
Microsoft.EnterpriseManagement.ConnectorFramework Namespace