Export (0) Print
Expand All

RelocateFile Class

 

Applies To: SQL Server 2016 Preview

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

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

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

No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubmethodRelocateFile()

Initializes a new instance of the RelocateFile class.

System_CAPS_pubmethodRelocateFile(String, String)

Initializes a new instance of the RelocateFile class.

NameDescription
System_CAPS_pubpropertyLogicalFileName

Gets or sets the logical file name for the specified file.

System_CAPS_pubpropertyPhysicalFileName

Gets or sets the physical file name for the specified file.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft