API Guide
2-832 API Functions 601355 Rev A
VSCMD_
Disconnect VSCMD_Disconnect disconnects a specified Internet
address from the specified enterprise identifier. This association
of Internet address with an enterprise identifier was made via
the Connect command.
Even though the specified client Internet address is
disassociated from the given enterprise identifier, the address
can remain active for a different enterprise.
Upon receipt of a VSCMD_Disconnect request, VolServ
verifies that the specified enterprise is associated with the given
Internet address. If the association exists, VolServ removes the
Internet address from the database and returns final status to
inform the client that the request has been completed. If the
association does not exist, the command fails, and failure status
is returned (if possible) to the client.
Synopsis VST_BOOLEAN VSCMD_Disconnect
(VST_COMMAND_HANDLE handle,
“…”,
VSID_ENDFIELD)
Arguments handle = The command handle for the Disconnect request.
“…” = Variable length argument list consisting of pairs of
arguments. Each pair of arguments consists of a parameter
identifier, followed by the value to be used as a command
default value for the field. The valid parameter identifiers
and types for this function are shown in the following
"Parameters" paragraph.
VSID_ENDFIELD = Required at the end of the variable
length argument list to indicate the end of the list.