/// <summary>
        /// Inits the connector with configuration injected
        /// </summary>
        /// <param name="configuration">Initialized Exchange configuration</param>
        public override void Init(Configuration configuration)
        {
            base.Init(configuration);
            this.configuration = (ExchangeConfiguration)configuration;

            // create runspace instance, will be alive as long as the connector instance is alive
            this.runspace = new RunSpaceInstance(RunSpaceInstance.SnapIn.Exchange, configuration.ConnectorMessages);

            // read the object class info definitions
            this.mapOcInfo = ExchangeUtility.GetOCInfo();
        }
 /// <summary>
 /// Dispose the resources we use
 /// </summary>
 /// <param name="disposing">true if called from <see cref="PSExchangeConnector.Dispose()"/></param>
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         // free managed resources
         if (this.runspace != null)
         {
             this.runspace.Dispose();
             this.runspace = null;
         }
     }
 }
 /// <summary>
 /// Inits the connector with configuration injected
 /// </summary>
 /// <param name="configuration">Connector configuration</param>
 public override void Init(Configuration configuration)
 {
     this.configuration = (ExchangeConfiguration)configuration;
     base.Init(configuration);
     this.runspace = new RunSpaceInstance(RunSpaceInstance.SnapIn.Exchange, configuration.ConnectorMessages);
 }
 /// <summary>
 /// Dispose the resources we use
 /// </summary>
 /// <param name="disposing">true if called from <see cref="ExchangeConnector.Dispose()"/></param>
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         // free managed resources
         if (this.runspace != null)
         {
             this.runspace.Dispose();
             this.runspace = null;
         }
     }
 }
        /// <summary>
        /// Inits the connector with configuration injected
        /// </summary>
        /// <param name="configuration">Initialized Exchange configuration</param>
        public override void Init(Configuration configuration)
        {
            base.Init(configuration);
            this.configuration = (ExchangeConfiguration)configuration;

            // create runspace instance, will be alive as long as the connector instance is alive
            this.runspace = new RunSpaceInstance(RunSpaceInstance.SnapIn.Exchange, configuration.ConnectorMessages);

            // read the object class info definitions
            this.mapOcInfo = ExchangeUtility.GetOCInfo();
        }