다음을 통해 공유


DatabaseFileMappingsDictionary.Add 메서드

Adds the specified database source file path and its associated database target file path to the dictionary.

네임스페이스:  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] that identifies the source database file path
  • targetFilePath
    유형: System.String
    [T.System.String] that identifies the target database file path

참고 항목

참조

DatabaseFileMappingsDictionary 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스