SqlConnectionStringBuilder.PersistSecurityInfo Propriedade

Definição

Obtém ou define um valor booliano que indica se informações confidenciais de segurança, como a senha, não serão retornadas como parte da conexão se ela estiver aberta ou se já esteve em um estado aberto.Gets or sets a Boolean value that indicates if security-sensitive information, such as the password, is not returned as part of the connection if the connection is open or has ever been in an open state.

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

Valor da propriedade

Boolean

O valor da propriedade PersistSecurityInfo ou false se nenhum tiver sido aplicado.The value of the PersistSecurityInfo property, or false if none has been supplied.

Comentários

Essa propriedade corresponde às chaves "Persist Security Info" e "persistsecurityinfo" dentro da cadeia de conexão.This property corresponds to the "Persist Security Info" and "persistsecurityinfo" keys within the connection string.

Aplica-se a