Export (0) Print
Expand All

RelocateFile Class

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

Object
  Microsoft.SqlServer.Management.Smo.RelocateFile

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

'Declaration
Public Class RelocateFile
'Usage
Dim instance As RelocateFile

The RelocateFile type exposes the following members.

  NameDescription
Public methodRelocateFileInitializes 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.

Community Additions

ADD
Show:
© 2014 Microsoft