SetPassword Método (String)
Sets the password for a backup set.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Sintaxis
'Declaración
Public Sub SetPassword ( _
value As String _
)
'Uso
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
)
Parámetros
- value
Tipo: System. . :: . .String
A String value that specifies the password for the backup set.
Notas
Use passwords to protect the backup sets if the backup medium is used to back up several databases with different owners.