Freigeben über


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

'Declaration
Public Function RemoveTSqlSourceFile ( _
    sourceFile As TSqlSourceFile _
) As Boolean
'Usage
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

Return Value

Type: Boolean
The Transact-SQL script file from the compilation unit.

See Also

Reference

DacCompilationUnit Class

Microsoft.SqlServer.Management.Dac Namespace