TransSubscription.SecureDtsPackagePassword 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定用於執行 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)。