AddTSqlSourceFile メソッド
Transact-SQL スクリプト ファイルをコンパイル単位に追加します。
名前空間: Microsoft.SqlServer.Management.Dac
アセンブリ: Microsoft.SqlServer.Management.Dac (Microsoft.SqlServer.Management.Dac.dll)
構文
'宣言
Public Function AddTSqlSourceFile ( _
filename As String, _
content As String _
) As TSqlSourceFile
'使用
Dim instance As DacCompilationUnit
Dim filename As String
Dim content As String
Dim returnValue As TSqlSourceFile
returnValue = instance.AddTSqlSourceFile(filename, _
content)
public TSqlSourceFile AddTSqlSourceFile(
string filename,
string content
)
public:
TSqlSourceFile^ AddTSqlSourceFile(
String^ filename,
String^ content
)
member AddTSqlSourceFile :
filename:string *
content:string -> TSqlSourceFile
public function AddTSqlSourceFile(
filename : String,
content : String
) : TSqlSourceFile
パラメーター
- filename
型: System. . :: . .String
Transact-SQL ソース ファイル名を指定する String 値です。
- content
型: System. . :: . .String
内容を指定する String 値です。
戻り値
型: Microsoft.SqlServer.Management.Dac. . :: . .TSqlSourceFile
コンパイル単位への追加スクリプト ファイルを示す TSqlSrouceFile オブジェクトです。