ConnectionOptions.EnablePrivileges 属性

定义

获取或设置一个值,该值指示是否需要为连接操作启用用户权限。 仅当执行的操作需要启用特定用户权限(例如,计算机重启)时,才应使用此属性。

public:
 property bool EnablePrivileges { bool get(); void set(bool value); };
public bool EnablePrivileges { get; set; }
member this.EnablePrivileges : bool with get, set
Public Property EnablePrivileges As Boolean

属性值

true 如果需要为连接操作启用用户权限,则为否则,为 false. 默认值为 false

适用于