Language

SqlCredential.UserId Property

Definition

Gets the user ID component of the SqlCredential object.

For new development, use Microsoft.Data.SqlClient. This page documents System.Data.SqlClient.

public:
 property System::String ^ UserId { System::String ^ get(); };
public string UserId { get; }
member this.UserId : string
Public ReadOnly Property UserId As String

Property Value

The user ID component of the SqlCredential object.

Applies to

See also