MailboxSuspend()


Suspend an active Mailbox.

Public Function MailboxSuspend(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

The function allows a Mailbox to be suspended. It can be reactivated through MailboxActivate().

A suspended Mailbox continues to be recognized by the system, but blocks user access. All Trading Partners assigned to a suspended Mailbox are preserved.

The permanently terminate a Mailbox and release all the Trading Partners, use MailboxTerminate().

Example

Visual Basic
[insert code sample]

EventID: 2104

See Also

MailboxActivate()
MailboxTerminate()


© 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.