Compartir a través de


DatabaseFileMappingsDictionary.Add Método

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub Add ( _
    sourceFilePath As String, _
    targetFilePath As String _
)
'Uso
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
)

Parámetros

  • sourceFilePath
    Tipo: System.String
    [T.System.String] that identifies the source database file path
  • targetFilePath
    Tipo: System.String
    [T.System.String] that identifies the target database file path

Vea también

Referencia

DatabaseFileMappingsDictionary Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo