FileDeclaration.IsPrimary Property

 

Applies To: SQL Server 2016 Preview

Gets or sets whether a file declaration belongs to a primary file group.

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

Syntax

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

Property Value

Type: System.Boolean

true if a file declaration belongs to a primary file group; otherwise, false.

See Also

FileDeclaration Class
Microsoft.SqlServer.TransactSql.ScriptDom Namespace

Return to top