RealProxy.DetachServer Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Detaches the current proxy instance from the remote server object that it represents.
protected:
 MarshalByRefObject ^ DetachServer();
	protected MarshalByRefObject DetachServer();
	[System.Security.SecurityCritical]
protected MarshalByRefObject DetachServer();
	member this.DetachServer : unit -> MarshalByRefObject
	[<System.Security.SecurityCritical>]
member this.DetachServer : unit -> MarshalByRefObject
	Protected Function DetachServer () As MarshalByRefObject
	Returns
The detached server object.
- Attributes
 
Exceptions
The immediate caller does not have UnmanagedCode permission.