PutSourceCode 方法

此 API 支持 SQL Server 2008 基础结构,但不能通过代码直接使用。

命名空间:  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