Partager via


Propriété FileDeclaration.IsPrimary

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

Espace de noms :  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly :  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntaxe

'Déclaration
Public Property IsPrimary As Boolean 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Voir aussi

Référence

FileDeclaration Classe

Espace de noms Microsoft.SqlServer.TransactSql.ScriptDom