共用方式為


RestoreInfo 成員

Represents the information required to process a file or database restoration. This class cannot be inherited.

RestoreInfo 型別公開下列成員。

建構函式

  名稱 描述
公用方法 RestoreInfo() () () () Initializes a new instance of RestoreInfo using the default values.
公用方法 RestoreInfo(String) Initializes a new instance of RestoreInfo using file parameter.
公用方法 RestoreInfo(String, String) Initializes a new instance of RestoreInfo using a file and database name.
公用方法 RestoreInfo(String, String, Boolean) Initializes a new instance of RestoreInfo using a file, database name, and overwrite indicator.
公用方法 RestoreInfo(String, String, Boolean, array<RestoreLocation> [] () [] []) Initializes a new instance of RestoreInfo using a file, database name, overwrite indicator, and an array of restore locations.
公用方法 RestoreInfo(String, String, Boolean, array<RestoreLocation> [] () [] [], RestoreSecurity) Initializes a new instance of RestoreInfo using a file, database name , overwrite indicator, an array of restore locations, and a security definition for the roles to be restored.
公用方法 RestoreInfo(String, String, Boolean, array<RestoreLocation> [] () [] [], RestoreSecurity, String) Initializes a new instance of RestoreInfo using multiple parameters, including password.
公用方法 RestoreInfo(String, String, Boolean, array<RestoreLocation> [] () [] [], RestoreSecurity, String, String)

頂端

方法

  名稱 描述
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

頂端

屬性

  名稱 描述
公用屬性 AllowOverwrite Gets or sets the AllowOverwrite aspect of RestoreInfo.
公用屬性 DatabaseName Gets or sets the DatabaseName aspect for a RestoreInfo object.
公用屬性 DbStorageLocation
公用屬性 File Gets or sets the UNC name of the File to restore.
公用屬性 Locations Gets a RestoreLocationCollection object with the locations of the remote partitions to restore.
公用屬性 Password Gets or sets the Password that is required to read the restore file.
公用屬性 Security Gets or sets the Security definition to apply to roles from the restore file.

頂端