SmartFoxServer Silverlight API
Disconnect Method
Namespaces ► SmartFoxClientAPI ► SmartFoxClient ► Disconnect()()()
Close the current connection to SmartFoxServer.
Declaration Syntax

C# | Visual Basic | Visual C++

    public void Disconnect()

    Public Sub Disconnect

    public:
    void Disconnect()

Remarks

Sends:
SFSEvent..::.OnConnectionLostDelegate

Version:
SmartFoxServer Basic / Pro

Examples
The following example shows how to disconnect from SmartFoxServer.
CopyC#

    smartFox.Disconnect();

See Also
Connect(String, Int32)
SFSEvent..::.OnConnectionLostDelegate

Assembly: SmartFoxClientAPI_Silverlight (Module: SmartFoxClientAPI_Silverlight) Version: 1.0.0.0 (1.0.0.0)