SqlConnectionStringBuilder.UserInstance 屬性

定義

取得或設定值,這個值表示是否要將連接從預設 SQL Server Express 實例重新導向至呼叫端帳戶下執行的運行時間起始實例。

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

屬性值

房產價值 UserInstance ,或 False 是否提供任何價值。

例外狀況

要將值設為空,請使用 Value

備註

此屬性對應於 連接字串 中的「User Instance」鍵。

Note

此功能僅在 SQL Server Express Edition 上提供。 欲了解更多使用者實例資訊,請參見 SQL Server Express User Instances

適用於

另請參閱