共用方式為


AlterDatabaseAddFileStatement.IsLog 屬性

Gets or sets whether the file to be added is a log file.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property IsLog As Boolean 
    Get 
    Set
'用途
Dim instance As AlterDatabaseAddFileStatement 
Dim value As Boolean 

value = instance.IsLog

instance.IsLog = value
public bool IsLog { get; set; }
public:
property bool IsLog {
    bool get ();
    void set (bool value);
}
member IsLog : bool with get, set
function get IsLog () : boolean 
function set IsLog (value : boolean)

屬性值

型別:System.Boolean
true if the file to be added is a log file; otherwise, false.

請參閱

參考

AlterDatabaseAddFileStatement 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間