Método ScriptComponentHost.PutSourceCode
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Puts source code to the ScriptComponentHost.
Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.TxScript (em Microsoft.SqlServer.TxScript.dll)
Sintaxe
'Declaração
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 de retorno
Tipo: System.Boolean
The source code.