Share via


TSqlFragmentSnippet.Script Property

Gets or sets the transact-SQL code fragment.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property Script As String 
    Get 
    Set
'Usage
Dim instance As TSqlFragmentSnippet 
Dim value As String 

value = instance.Script

instance.Script = value
public string Script { get; set; }
public:
property String^ Script {
    String^ get ();
    void set (String^ value);
}
member Script : string with get, set
function get Script () : String 
function set Script (value : String)

Property Value

Type: System.String
The transact-SQL code fragment.

See Also

Reference

TSqlFragmentSnippet Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace