Microsoft.Protocols.TestSuites.MS_OXCROPS.MS_OXCROPSAdapter.SetAutoRedirect C# (CSharp) Method

SetAutoRedirect() public method

Set auto redirect value in RPC context If setting this to true, the RPC server will return EcWrongServer error (0x478). And the request will be redirected to designated server. If setting this to false, the RPC server will return EcWrongServer error (0x478). But the request will not be redirected.
public SetAutoRedirect ( bool option ) : void
option bool true indicates enable auto redirect, false indicates disable auto redirect
return void
        public void SetAutoRedirect(bool option)
        {
            this.oxcropsClient.MapiContext.AutoRedirect = option;
        }
MS_OXCROPSAdapter