RelocateFile RelocateFile RelocateFile Constructors

Definition

Overloads

RelocateFile() RelocateFile() RelocateFile()

Initializes a new instance of the RelocateFile class.

RelocateFile(String, String) RelocateFile(String, String) RelocateFile(String, String)

Initializes a new instance of the RelocateFile class.

RelocateFile() RelocateFile() RelocateFile()

Initializes a new instance of the RelocateFile class.

public:
 RelocateFile();
public RelocateFile ();
Public Sub New ()

Examples

Backing Up and Restoring Databases and Transaction Logs

Remarks

The default constructor initializes any fields to their default values.

RelocateFile(String, String) RelocateFile(String, String) RelocateFile(String, String)

Initializes a new instance of the RelocateFile class.

public:
 RelocateFile(System::String ^ logicalFileName, System::String ^ physicalFileName);
public RelocateFile (string logicalFileName, string physicalFileName);
Public Sub New (logicalFileName As String, physicalFileName As String)
Parameters
logicalFileName
String String String

A String value that specifies the logical file name.

physicalFileName
String String String

A String value that specifies the physical file name.

Examples

Backing Up and Restoring Databases and Transaction Logs

Remarks

The default constructor initializes any fields to their default values.

Applies to