Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

RelocateFile Class

The RelocateFile object is a programmatic tool that lets a file be relocated.

System.Object
  Microsoft.SqlServer.Management.Smo.RelocateFile

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
public class RelocateFile

The RelocateFile type exposes the following members.

  NameDescription
Public methodRelocateFile()Initializes a new instance of the RelocateFile class.
Public methodRelocateFile(String, String)Initializes a new instance of the RelocateFile class.
Top
  NameDescription
Public propertyLogicalFileNameGets or sets the logical file name for the specified file.
Public propertyPhysicalFileNameGets or sets the physical file name for the specified file.
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.