DacCompilationUnit.RemoveTSqlSourceFile Method
Removes a Transact-SQL script file from the compilation unit.
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'Déclaration
Public Function RemoveTSqlSourceFile ( _
sourceFile As TSqlSourceFile _
) As Boolean
'Utilisation
Dim instance As DacCompilationUnit
Dim sourceFile As TSqlSourceFile
Dim returnValue As Boolean
returnValue = instance.RemoveTSqlSourceFile(sourceFile)
public bool RemoveTSqlSourceFile(
TSqlSourceFile sourceFile
)
public:
bool RemoveTSqlSourceFile(
TSqlSourceFile^ sourceFile
)
member RemoveTSqlSourceFile :
sourceFile:TSqlSourceFile -> bool
public function RemoveTSqlSourceFile(
sourceFile : TSqlSourceFile
) : boolean
Parameters
- sourceFile
Type: Microsoft.SqlServer.Management.Dac.TSqlSourceFile
A String value that specifies the Transact-SQL source file name.
Return Value
Type: Boolean
The Transact-SQL script file from the compilation unit.