NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RemotingServices.Disconnect

This method is used to stop an object from receiving any further messages through its channel. If passed a proxy will disconnect the proxy from the server object.

[Visual Basic]
Public Shared Function Disconnect( _
   ByVal obj As MarshalByRefObject _
) As Boolean
[C#]
public static bool Disconnect(
   MarshalByRefObject obj
);
[C++]
public: static bool Disconnect(
   MarshalByRefObject* obj
);
[JScript]
public static function Disconnect(
   obj : MarshalByRefObject
) : Boolean;

Parameters

obj
Object to disconnect from its channel.

Return Value

True/false indicating success/failure.

See Also

RemotingServices Class | RemotingServices Members | System.Runtime.Remoting Namespace