語言

TransSubscription.SecureDtsPackagePassword 屬性

定義

設定用於執行 Microsoft SQL Server 2000 資料轉換服務(DTS)套件的密碼(物件SecureString)。

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

屬性值

一個 SecureString 值。

備註

SecureDtsPackagePassword 屬性在密碼儲存在記憶體中時提供額外的安全性,應取代 DtsPackagePassword

在執行時,請提示使用者輸入安全憑證。 如果你必須儲存憑證,請使用 Microsoft Windows .NET Framework 提供的加密服務

密碼從未被回傳。SecureDtsPackagePassword

SecureDtsPackagePassword該屬性只能由固定sysadmin伺服器角色的成員或固定資料庫角色的成員db_owner設定。

設定 SecureDtsPackagePassword 相當於執行 sp_addpushsubscription_agent(Transact-SQL)sp_change_subscription_properties(Transact-SQL)

適用於