private void Init()
 {
     if (!this._disposed)
     {
         if (this._topoMgmt == null)
         {
             this._sessionHandle = this._adSession.GetSessionHandle();
             this._topoMgmt      = this._adSession.GetTopologyManagementInterface();
         }
         return;
     }
     else
     {
         throw new ObjectDisposedException(this.GetType().Name);
     }
 }
Example #2
0
		private void Init()
		{
			if (!this._disposed)
			{
				if (this._topoMgmt == null)
				{
					this._sessionHandle = this._adSession.GetSessionHandle();
					this._topoMgmt = this._adSession.GetTopologyManagementInterface();
				}
				return;
			}
			else
			{
				throw new ObjectDisposedException(this.GetType().Name);
			}
		}