Text Property
SQL Server 2008 R2
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
The Text property exposes the Transact-SQL or other script that defines the referenced Microsoft SQL Server database object.
Constraints apply to strings used to set the Text property. For example, the Text property of a Check object contains an expression that evaluates to TRUE or FALSE. For a Trigger object, the Text property contains a Transact-SQL statement that creates a trigger when run. For more information, see documentation for the applicable SQL-DMO object.

Note