Metodo SetMediaPassword (String)
Sets the password for a media set.
Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Sintassi
'Dichiarazione
Public Sub SetMediaPassword ( _
value As String _
)
'Utilizzo
Dim instance As BackupRestoreBase
Dim value As String
instance.SetMediaPassword(value)
public void SetMediaPassword(
string value
)
public:
void SetMediaPassword(
String^ value
)
member SetMediaPassword :
value:string -> unit
public function SetMediaPassword(
value : String
)
Parametri
- value
Tipo: System. . :: . .String
A String value that specifies the password for the media set.
Osservazioni
Use a password to protect the medium when the medium contains one or more backup sets that can be accessed by the same person.
Vedere anche