--- title: "MarshalOptions Property (ADO) | Microsoft Docs" ms.prod: sql ms.prod_service: connectivity ms.technology: connectivity ms.custom: "" ms.date: "01/19/2017" ms.reviewer: "" ms.topic: conceptual apitype: "COM" f1_keywords: - "Recordset15::MarshalOptions" helpviewer_keywords: - "MarshalOptions property [ADO]" ms.assetid: 390c8abf-133e-40da-8b99-8f748a983e4f author: MightyPen ms.author: genemi --- # MarshalOptions Property (ADO) Indicates which records of the [Recordset](../../../ado/reference/ado-api/recordset-object-ado.md) are to be marshaled back to the server. ## Settings And Return Values Sets or returns a [MarshalOptionsEnum](../../../ado/reference/ado-api/marshaloptionsenum.md) value. The default value is **adMarshalAll**. ## Remarks When using a client-side [Recordset](../../../ado/reference/ado-api/recordset-object-ado.md), records that have been modified on the client are written back to the middle tier or Web server through a technique called marshaling, the process of packaging and sending interface method parameters across thread or process boundaries. Setting the **MarshalOptions** property can improve performance when modified remote data is marshaled for updating back to the middle tier or Web server. > [!NOTE] > **Remote Data Service Usage** This property is used only on a client-side **Recordset**. ## Applies To [Recordset Object (ADO)](../../../ado/reference/ado-api/recordset-object-ado.md) ## See Also [MarshalOptions Property Example (VB)](../../../ado/reference/ado-api/marshaloptions-property-example-vb.md) [MarshalOptions Property Example (VC++)](../../../ado/reference/ado-api/marshaloptions-property-example-vc.md)