共用方式為


ISqlLogin.DefaultDatabase 屬性

取得或設定登入的預設資料庫。

命名空間:  Microsoft.Data.Schema.Sql.SchemaModel
組件:  Microsoft.Data.Schema.Sql (在 Microsoft.Data.Schema.Sql.dll 中)

語法

'宣告
Property DefaultDatabase As String
    Get
    Set
string DefaultDatabase { get; set; }
property String^ DefaultDatabase {
    String^ get ();
    void set (String^ value);
}
abstract DefaultDatabase : string with get, set
function get DefaultDatabase () : String
function set DefaultDatabase (value : String)

屬性值

型別:System.String

.NET Framework 安全性

請參閱

參考

ISqlLogin 介面

Microsoft.Data.Schema.Sql.SchemaModel 命名空間