The RelocateFile object is a programmatic tool that lets a file be relocated.
Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
No code example is currently available or this language may not be supported.
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 (
in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.