Share via


FrameworkBase.Initialize Method

Prepares the Web service to collect and pass data to your connector.

 public abstract void FrameworkBase.Initialize(
    Guid registrationId,
    DataChanges dataChangeFlags
);

Parameters

  • registrationId
    The connector's registration ID. The registration ID is obtained from the initial call to the FrameworkBase.Setup method.
  • dataChangeFlags
    Specifies the type of data you want your connector to receive.

Exceptions

Exception Type Condition
System.ArgumentOutOfRangeException The dataChangeFlags value is not valid.
System.InvalidOperationException The registrationId value is valid. Calling Initialize a second time, without first calling Uninitialize, will also cause this exception.

Remarks

To reinitialize the connector, call the Uninitialize method, and then call the Initialize method again. The same registrationId value can be reused.

Requirements

Platforms: Requires Windows 2000 Server or later

Version: Requires MOM 2000 SP1 or later

Namespace: Microsoft.EnterpriseManagement.Mom.Connector

Assembly: MomConnectorFramework (in MomConnectorFramework.dll)

See Also

FrameworkBase Class | FrameworkBase Members | FrameworkBase.Setup Method | FrameworkBase.Uninitialize Method | FrameworkBase.Cleanup Method