ScriptComponentHost.PutSourceCode Method

This API supports the infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.TxScript (in Microsoft.SqlServer.TxScript.dll)

Syntax

'Declaration
Public Function PutSourceCode ( _
    filename As String, _
    sourceCode As String _
) As Boolean
'Usage
Dim instance As ScriptComponentHost
Dim filename As String
Dim sourceCode As String
Dim returnValue As Boolean

returnValue = instance.PutSourceCode(filename, _
    sourceCode)
public bool PutSourceCode(
    string filename,
    string sourceCode
)
public:
bool PutSourceCode(
    String^ filename, 
    String^ sourceCode
)
member PutSourceCode : 
        filename:string * 
        sourceCode:string -> bool 
public function PutSourceCode(
    filename : String, 
    sourceCode : String
) : boolean

Parameters

Return Value

Type: System.Boolean