Share via


SubscriptionBackupInformation.SecurePassword Property

Definition

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

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

Property Value

A SecureString object.

Remarks

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

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