MailboxTerminate()


Terminate a Mailbox.

Public Function MailboxTerminate(ByVal SessionID As String, _
                                
ByVal MailboxID As Integer) _
                                
As Boolean

Parameters

SessionID
String - GUID
The current session's GUID in string format. This is a 32-character hexidecimal string in the format:
00000000-0000-0000-0000-000000000000. This is the value returned by the Login() function.
MailboxID
Integer
The ECGrid MailboxID assigned to the ID on the specified network. 

Returns

Boolean 
True if successful, false on failure.

Remarks

Terminating a Mailbox permanently removes it from the system and releases all assigned Trading Partners. It cannot be reactivated.

To temporarily suspend a Mailbox, while retaining all Trading Partners, use MailboxSuspend().

Example

Visual Basic
[insert code sample]

EventID: 2105

See Also

MailboxActivate()
MailboxSuspend()


© 2008-2011, Loren Data Corp.
All rights reserved.
ECGrid is a registered service mark of Loren Data Corp.
ECGridOS is a service mark of Loren Data Corp.