次の方法で共有


ConnectionOptions.EnablePrivileges プロパティ

接続操作のためにユーザー特権を有効にする必要があるかどうかを示す値を取得または設定します。このプロパティは、実行する操作 (コンピュータの再起動など) で特定のユーザー特権を有効にする必要がある場合にだけ使用してください。

Public Property EnablePrivileges As Boolean
[C#]
public bool EnablePrivileges {get; set;}
[C++]
public: __property bool get_EnablePrivileges();public: __property void set_EnablePrivileges(bool);
[JScript]
public function get EnablePrivileges() : Boolean;public function set EnablePrivileges(Boolean);

プロパティ値

接続操作でユーザー特権を有効にする必要がある場合は true 。それ以外の場合は false 。既定値は false です。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

ConnectionOptions クラス | ConnectionOptions メンバ | System.Management 名前空間