The RelocateFile object is a programmatic tool that lets a file be relocated.
Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
public class RelocateFile
Gets or sets the logical file name for the specified file.
Gets or sets the physical file name for the specified file.
The RelocateFile class is used with the RelocateFiles property to relocate files during a restore operation.
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.
Return to top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
(1500 characters remaining)
Thank you for your feedback