Skip to content

Latest commit

 

History

History
31 lines (28 loc) · 1.25 KB

File metadata and controls

31 lines (28 loc) · 1.25 KB
title SaveOptionsEnum | 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
SaveOptionsEnum
helpviewer_keywords
SaveOptionsEnum enumeration [ADO]
ms.assetid 59339100-6e29-48d1-aea3-6873796d186b
author MightyPen
ms.author genemi

SaveOptionsEnum

Specifies whether a file should be created or overwritten when saving from a Stream object. The values can be adSaveCreateNotExist or adSaveCreateOverWrite..

Constant Value Description
adSaveCreateNotExist 1 Default. Creates a new file if the file specified by the FileName parameter does not already exist.
adSaveCreateOverWrite 2 Overwrites the file with the data from the currently open Stream object, if the file specified by the Filename parameter already exists. If the file specified by the Filename parameter does not exist, a new file is created.

ADO/WFC Equivalent

These constants do not have ADO/WFC equivalents.

Applies To

SaveToFile Method