Share via


FileDeclaration.IsPrimary Property

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

'Declaration
Public Property IsPrimary As Boolean 
    Get 
    Set
'Usage
Dim instance As FileDeclaration 
Dim value As Boolean 

value = instance.IsPrimary

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

Property Value

Type: System.Boolean
true if a file declaration belongs to a primary file group; otherwise, false.

See Also

Reference

FileDeclaration Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace