BackupRestoreBase.SetMediaPassword Method

Definition

Overloads

SetMediaPassword(SecureString)
Obsolete.
SetMediaPassword(String)
Obsolete.

SetMediaPassword(SecureString)

Caution

This API is now deprecated.

[System.Obsolete]
public void SetMediaPassword (System.Security.SecureString value);
[<System.Obsolete>]
member this.SetMediaPassword : System.Security.SecureString -> unit
Public Sub SetMediaPassword (value As SecureString)

Parameters

value
SecureString
Attributes

Applies to

SetMediaPassword(String)

Caution

This API is now deprecated.

[System.Obsolete]
public void SetMediaPassword (string value);
[<System.Obsolete>]
member this.SetMediaPassword : string -> unit
Public Sub SetMediaPassword (value As String)

Parameters

value
String
Attributes

Applies to