SetPassword 方法 (String)
Sets the password for a backup set.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)
语法
声明
Public Sub SetPassword ( _
value As String _
)
用法
Dim instance As BackupRestoreBase
Dim value As String
instance.SetPassword(value)
public void SetPassword(
string value
)
public:
void SetPassword(
String^ value
)
member SetPassword :
value:string -> unit
public function SetPassword(
value : String
)
参数
- value
类型:System. . :: . .String
A String value that specifies the password for the backup set.
注释
Use passwords to protect the backup sets if the backup medium is used to back up several databases with different owners.