RelocateFile Class
The RelocateFile object is a programmatic tool that lets a file be relocated.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Smo.RelocateFile
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public Class RelocateFile
'Usage
Dim instance As RelocateFile
public class RelocateFile
public ref class RelocateFile
type RelocateFile = class end
public class RelocateFile
The RelocateFile type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RelocateFile() | Initializes a new instance of the RelocateFile class. | |
RelocateFile(String, String) | Initializes a new instance of the RelocateFile class. |
Top
Properties
Name | Description | |
---|---|---|
LogicalFileName | Gets or sets the logical file name for the specified file. | |
PhysicalFileName | Gets or sets the physical file name for the specified file. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Remarks
The RelocateFile class is used with the RelocateFiles property to relocate files during a restore operation.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.