共用方式為


FileDeclaration.IsPrimary 屬性

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

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property IsPrimary As Boolean 
    Get 
    Set
'用途
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)

屬性值

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

請參閱

參考

FileDeclaration 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間