Partilhar via


Método RemoveTSqlSourceFile

Removes a Transact-SQL script file from the compilation unit.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (em Microsoft.SqlServer.Management.Dac.dll)

Sintaxe

'Declaração
Public Function RemoveTSqlSourceFile ( _
    sourceFile As TSqlSourceFile _
) As Boolean
'Uso
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

Parâmetros

Valor de retorno

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