Delen via


AlterDatabaseAddFileStatement.IsLog Property

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

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property IsLog As Boolean 
    Get 
    Set
'Usage
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)

Property Value

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

See Also

Reference

AlterDatabaseAddFileStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace