Udostępnij za pośrednictwem


SubscriptionBackupInformation.SecureMediaPassword Property

Definition

Gets or sets the password (as a SecureString object) required to access the media set on the backup device.

public:
 property System::Security::SecureString ^ SecureMediaPassword { System::Security::SecureString ^ get(); void set(System::Security::SecureString ^ value); };
public System.Security.SecureString SecureMediaPassword { get; set; }
member this.SecureMediaPassword : System.Security.SecureString with get, set
Public Property SecureMediaPassword As SecureString

Property Value

A SecureString object.

Remarks

The SecureMediaPassword property provides additional security for the password while it is stored in memory, and should be used instead of MediaPassword.

When possible, prompt users to enter security credentials at runtime. If you must store credentials, use the cryptographic services provided by the Microsoft Windows .NET Framework.

This property can be accessed by any user.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

Applies to