Add メソッド
指定されたデータベース ソース ファイル パスと、関連するデータベース ターゲット ファイル パスをディクショナリに追加します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Public Sub Add ( _
sourceFilePath As String, _
targetFilePath As String _
)
'使用
Dim instance As DatabaseFileMappingsDictionary
Dim sourceFilePath As String
Dim targetFilePath As String
instance.Add(sourceFilePath, targetFilePath)
public void Add(
string sourceFilePath,
string targetFilePath
)
public:
void Add(
String^ sourceFilePath,
String^ targetFilePath
)
member Add :
sourceFilePath:string *
targetFilePath:string -> unit
public function Add(
sourceFilePath : String,
targetFilePath : String
)
パラメーター
- sourceFilePath
型: System. . :: . .String
ソース データベース ファイルのパスを識別する [T.System.String] です。
- targetFilePath
型: System. . :: . .String
ターゲット データベース ファイルのパスを識別する [T.System.String] です。