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

See Also Languages RedGate.SQL.Shared Send comments on this topic.

ToString Method

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

Returns the contents of the ExecutionBlock.

[Visual Basic]
<ObsoleteAttribute(Message="This is obsolete! Please rewrite your code to use GetString().", IsError=True)> Overrides Public Function ToString() As String
[C#]
[ObsoleteAttribute(Message="This is obsolete! Please rewrite your code to use GetString().", IsError=true)] public override string ToString();
[C++]
[ObsoleteAttribute(Message="This is obsolete! Please rewrite your code to use GetString().", IsError=true)] public: string* ToString(); override
[C++/CLI]
[ObsoleteAttribute(Message="This is obsolete! Please rewrite your code to use GetString().", IsError=true)] public: String^ ToString(); override

Return Type

A large SQL statement.

Remarks

If the ExecutionBlock contains a lot of SQL code, this method can cause virtual memory problems; you are recommended to use GetFileStream instead.

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.