共用方式為


ExportWideChar Property

未來的 Microsoft SQL Server 版本將移除這項功能。請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。

The ExportWideChar property controls character set used in the data file when a data file is created using the ExportData method of the Table and Viewobject.

語法

object
.ExportWideChar [=value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list

  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetExportWideChar(LPBOOL pRetVal);
HRESULT SetExportWideChar(BOOL NewValue);

備註

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 if 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).

Applies To: