AddTSqlSourceFile Método
Adds a Transact-SQL script file to the compilation unit.
Espacio de nombres: Microsoft.SqlServer.Management.Dac
Ensamblado: Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)
Sintaxis
'Declaración
Public Function AddTSqlSourceFile ( _
filename As String, _
content As String _
) As TSqlSourceFile
'Uso
Dim instance As DacCompilationUnit
Dim filename As String
Dim content As String
Dim returnValue As TSqlSourceFile
returnValue = instance.AddTSqlSourceFile(filename, _
content)
public TSqlSourceFile AddTSqlSourceFile(
string filename,
string content
)
public:
TSqlSourceFile^ AddTSqlSourceFile(
String^ filename,
String^ content
)
member AddTSqlSourceFile :
filename:string *
content:string -> TSqlSourceFile
public function AddTSqlSourceFile(
filename : String,
content : String
) : TSqlSourceFile
Parámetros
- filename
Tipo: System. . :: . .String
A String value that specifies the Transact-SQL source file name.
- content
Tipo: System. . :: . .String
A String value that specifies the content.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Dac. . :: . .TSqlSourceFile
A TSqlSrouceFile object that specifies the script file that is added to the compilation unit.
Vea también