SubscriptionBackupInformation.MediaPassword 屬性

定義

取得或設定存取備份裝置媒體組所需的密碼。

public:
 property System::String ^ MediaPassword { System::String ^ get(); void set(System::String ^ value); };
public string MediaPassword { get; set; }
member this.MediaPassword : string with get, set
Public Property MediaPassword As String

屬性值

一個 String 值。

備註

使用該 SecureMediaPassword 屬性來設定媒體密碼。 SecureMediaPassword 在密碼存在於記憶體中時,能提供更好的安全性。

可能的話,會在執行階段提示使用者輸入安全性認證。 如果你必須儲存憑證,請使用 Microsoft Windows .NET Framework 提供的加密服務

此屬性可由任何使用者存取。

此命名空間、類別或成員僅在 .NET 框架 2.0 版本中被支援。

適用於