TransSubscription.SecureDtsPackagePassword プロパティ

定義

Microsoft SQL Server 2000 Data Transformation Services(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フレームワークが提供する暗号サービスを利用してください。

パスワードは SecureDtsPackagePasswordから返されることはありません。

SecureDtsPackagePasswordプロパティは、sysadmin固定サーバーロールのメンバーかdb_owner固定データベースロールのメンバーのみが設定可能です。

設定 SecureDtsPackagePassword は、 sp_addpushsubscription_agent(Transact-SQL) または sp_change_subscription_properties(Transact-SQL)を実行するのと同等です。

適用対象