SqlConnectionStringBuilder.UserID 屬性

定義

取得或設定連接到 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

屬性值

房產價值 UserID ,或 String.Empty 是否提供任何價值。

例外狀況

要將值設為空,請使用 Value

備註

此屬性對應於連接字串中的「User ID」、「user」和「uid」鍵。

適用於

另請參閱