Document Property

       

Returns or sets the file or document that will be used with the Execute method. If this property is not specified, the default document from the server will be returned; for write operations, an error occurs if no document is specified.

Syntax

object.Document = string

The Document property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
string The name of the file or document to be used with the Execute method.