Microsoft.Protocols.TestSuites.MS_OXCTABL.MS_OXCTABLAdapter.Disconnect C# (CSharp) Method

Disconnect() public method

Disconnect from the server.
public Disconnect ( ) : void
return void
        public void Disconnect()
        {
            if (this.tableType == TableType.CONTENT_TABLE || this.tableType == TableType.RULES_TABLE || this.tableType == TableType.HIERARCHY_TABLE || this.tableType == TableType.ATTACHMENTS_TABLE)
            {
                this.CleanInbox();
            }

            bool ret = this.oxcropsClient.Disconnect();
            if (ret)
            {
                this.isConnected = false;
            }
        }