SqlConnectionStringBuilder.UserID Propiedad

Definición

Obtiene o establece el identificador de usuario que se va a usar al conectarse a SQL Server.

public:
 property System::String ^ UserID { System::String ^ get(); void set(System::String ^ value); };
public string UserID { get; set; }
member this.UserID : string with get, set
Public Property UserID As String

Valor de propiedad

Valor de la UserID propiedad o String.Empty si no se ha proporcionado ninguno.

Excepciones

Para establecer el valor en NULL, use Value.

Comentarios

Esta propiedad corresponde a las claves "User ID", "user" y "uid" dentro de la cadena de conexión.

Se aplica a

Consulte también