OfficeDataSourceObject Interface

Represents the mail merge data source in a mail merge operation.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

public interface OfficeDataSourceObject

To work with the OfficeDataSourceObject object, dimension a variable as an OfficeDataSourceObject object. You can then work with the different properties and methods associated with the object.

Use the SetSortOrder method to specify how to sort the records in a data source. Use the Column, Comparison, CompareTo, and Conjunction properties to return or set the data source query criterion.