MarkLogic XCC/.Net Library |

# Request.EffectiveOptions Property

A newly created RequestOptions instance that reflects the execution options that will be applied to this request. This may be a blend of the option values set on the Request and those set on the Session. This method will always return a newly created, non-null result.

The object returned is NOT the RequestOptions object associated with either the Request or the Session. Making changes to the returned RequestOptions object will not affect subsequent submissions of this Request.

Although it's possible to modify and pass the returned object back to the Options property, this is not recommended. In general, you should create your own instance of RequestOptions and set only those options you explictly want to override. When submitted, the options set on the Request are merged with those, if any, set for the Session.

This method mainly used internally. It can be used to determine which values will be submitted with a request. Most client code will not need this method.

[Visual Basic]
Property EffectiveOptions As RequestOptions
[C#]
RequestOptions EffectiveOptions {get;}

#### See Also

Request Interface | Marklogic.Xcc Namespace