Méthode RemoveTSqlSourceFile
Removes a Transact-SQL script file from the compilation unit.
Espace de noms : Microsoft.SqlServer.Management.Dac
Assembly : Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)
Syntaxe
'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
Paramètres
- sourceFile
Type : Microsoft.SqlServer.Management.Dac. . :: . .TSqlSourceFile
A String value that specifies the Transact-SQL source file name.
Valeur de retour
Type : System. . :: . .Boolean
The Transact-SQL script file from the compilation unit.