Метод RemoveTSqlSourceFile
Removes a Transact-SQL script file from the compilation unit.
Пространство имен: Microsoft.SqlServer.Management.Dac
Сборка: Microsoft.SqlServer.Management.Dac (в Microsoft.SqlServer.Management.Dac.dll)
Синтаксис
'Декларация
Public Function RemoveTSqlSourceFile ( _
sourceFile As TSqlSourceFile _
) As Boolean
'Применение
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
Параметры
- sourceFile
Тип: Microsoft.SqlServer.Management.Dac. . :: . .TSqlSourceFile
A String value that specifies the Transact-SQL source file name.
Возвращаемое значение
Тип: System. . :: . .Boolean
The Transact-SQL script file from the compilation unit.