ExportWideChar Property (SQL-DMO)

The ExportWideChar property controls character set used in the data file when creating a data file by using the ExportData method of the Table and View object.

Applies To

BulkCopy Object

Syntax

object.ExportWideChar [= value]

Part Description
object An expression that evaluates to an object in the Applies To list
value True or False

Remarks

If True, the data file is created as a Unicode text file.

If False, the data file is created as a multibyte character text file.

The ExportWideChar property is evaluated only when the BulkCopy object is used as an argument to the ExportData method, and the bulk-copy operation specifies a character format target file (the DataFileType property of the BulkCopy object is SQLDMODataFile_CommaDelimitedChar, SQLDMODataFile_SpecialDelimitedChar, or SQLDMODataFile_TabDelimitedChar).

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetExportWideChar(LPBOOL pRetVal);

HRESULT SetExportWideChar(BOOL NewValue);


(c) 1988-98 Microsoft Corporation. All Rights Reserved.