Partilhar via


Propriedade do RDL FileDeclaration.IsPrimary

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

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

Sintaxe

'Declaração
Public Property IsPrimary As Boolean 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Consulte também

Referência

FileDeclaration Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom