RelocateFile 建構函式 (String, String)
Initializes a new instance of the RelocateFile class.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SmoExtended (在 Microsoft.SqlServer.SmoExtended.dll 中)
語法
'宣告
Public Sub New ( _
logicalFileName As String, _
physicalFileName As String _
)
'用途
Dim logicalFileName As String
Dim physicalFileName As String
Dim instance As New RelocateFile(logicalFileName, _
physicalFileName)
public RelocateFile(
string logicalFileName,
string physicalFileName
)
public:
RelocateFile(
String^ logicalFileName,
String^ physicalFileName
)
new :
logicalFileName:string *
physicalFileName:string -> RelocateFile
public function RelocateFile(
logicalFileName : String,
physicalFileName : String
)
參數
- logicalFileName
型別:System.String
A String value that specifies the logical file name.
- physicalFileName
型別:System.String
A String value that specifies the physical file name.
備註
The default constructor initializes any fields to their default values.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間