共用方式為


PutSourceCode 方法

此 API 支援 基礎結構,但無法直接從您的程式碼使用。

命名空間:  Microsoft.SqlServer.Dts.Pipeline
組件:  Microsoft.SqlServer.TxScript (在 Microsoft.SqlServer.TxScript.dll 中)

語法

'宣告
Public Function PutSourceCode ( _
    filename As String, _
    sourceCode As String _
) As Boolean
'用途
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

參數

傳回值

型別:System. . :: . .Boolean