See Also

ExecutionBlock Class  | ExecutionBlock Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

fileName
The name of the file.
encoding
The encoding to use.
See Also Languages RedGate.SQL.Shared Send comments on this topic.

SaveToFile Method

RedGate.SQL.Shared Namespace > ExecutionBlock Class : SaveToFile Method (ExecutionBlock)

Saves a copy of the ExecutionBlock to a text file with the given encoding.

[Visual Basic]
<ObsoleteAttribute("Please use BlockSaver instead")> Public Sub SaveToFile( _    ByVal fileName As String, _    ByVal encoding As EncodingType _ )
[C#]
[ObsoleteAttribute("Please use BlockSaver instead")] public void SaveToFile(    string fileName,    EncodingType encoding );
[C++]
[ObsoleteAttribute("Please use BlockSaver instead")] public: void SaveToFile(    string* fileName,    EncodingType encoding )
[C++/CLI]
[ObsoleteAttribute("Please use BlockSaver instead")] public: void SaveToFile(    String^ fileName,    EncodingType encoding )

Parameters

fileName
The name of the file.
encoding
The encoding to use.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ExecutionBlock Class  | ExecutionBlock Members

 

 


© 2003 - 2007 Red Gate Software Ltd. All Rights Reserved.