ScriptComponentHost.PutSourceCode Método
Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.
Puts source code to the ScriptComponentHost.
Espacio de nombres: Microsoft.SqlServer.Dts.Pipeline
Ensamblado: Microsoft.SqlServer.TxScript (en Microsoft.SqlServer.TxScript.dll)
Sintaxis
'Declaración
Public Function PutSourceCode ( _
filename As String, _
encoding As String, _
sourceCode As String _
) As Boolean
'Uso
Dim instance As ScriptComponentHost
Dim filename As String
Dim encoding As String
Dim sourceCode As String
Dim returnValue As Boolean
returnValue = instance.PutSourceCode(filename, _
encoding, sourceCode)
public bool PutSourceCode(
string filename,
string encoding,
string sourceCode
)
public:
bool PutSourceCode(
String^ filename,
String^ encoding,
String^ sourceCode
)
member PutSourceCode :
filename:string *
encoding:string *
sourceCode:string -> bool
public function PutSourceCode(
filename : String,
encoding : String,
sourceCode : String
) : boolean
Parámetros
- filename
Tipo: System.String
The file name.
- encoding
Tipo: System.String
The encoding.
- sourceCode
Tipo: System.String
The source code.
Valor devuelto
Tipo: System.Boolean
The source code.