共用方式為


ConnectionSettings.ConnectAsUser Property

Definition

If set to true, the connection will be made with the credentials of the specified user. This will assume impersonation, however the LoginSecure flags and Login and Password fields will not be affected. ConnectionCannotBeChangedException

public bool ConnectAsUser { get; set; }
member this.ConnectAsUser : bool with get, set
Public Property ConnectAsUser As Boolean

Property Value

Exceptions

Applies to