Bewerken

Delen via


WebOptions.EnableIncrementalUpload property (Publisher)

Returns or sets a Boolean value that specifies whether changes made to a web publication can be uploaded to a web server independent of the entire publication. If True, only changes made to a publication are uploaded to the web server when published. If False, the entire publication is uploaded to the web server. The default value is True. Read/write.

Syntax

expression.EnableIncrementalUpload

expression A variable that represents a WebOptions object.

Return value

Boolean

Remarks

The EnableIncrementalUpload property applies only to web publications that have already been published to a web server. If a web publication has not already been published to a web server, the entire publication will be published to the server during the initial publishing process, regardless of whether the EnableIncrementalUpload property is set to True.

If a web publication has already been published to a web server and the EnableIncrementalUpload property is then set to True, only changes made to the web publication, and not the entire publication, after this point will be published to the server.

Example

The following example tests whether the web publication is set to upload only changes made to the publication. If not, the EnableIncrementalUpload property is set to True to specify that only changes to the publication be uploaded to the web server.

Dim theWO As WebOptions 
 
Set theWO = Application.WebOptions 
 
With theWO 
 If .EnableIncrementalUpload = False Then 
 .EnableIncrementalUpload = True 
 End If 
End With

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.