SqlConnectionStringBuilder.UserID 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定連接到 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」鍵。