共用方式為


DefaultFileGroup 屬性

Gets the default file group used by the database.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayDescriptionKeyAttribute("Database_DefaultFileGroupDesc")> _
<DisplayNameKeyAttribute("Database_DefaultFileGroupName")> _
ReadOnly Property DefaultFileGroup As String
    Get
'用途
Dim instance As IDatabaseOptions
Dim value As String

value = instance.DefaultFileGroup
[DisplayDescriptionKeyAttribute("Database_DefaultFileGroupDesc")]
[DisplayNameKeyAttribute("Database_DefaultFileGroupName")]
string DefaultFileGroup { get; }
[DisplayDescriptionKeyAttribute(L"Database_DefaultFileGroupDesc")]
[DisplayNameKeyAttribute(L"Database_DefaultFileGroupName")]
property String^ DefaultFileGroup {
    String^ get ();
}
[<DisplayDescriptionKeyAttribute("Database_DefaultFileGroupDesc")>]
[<DisplayNameKeyAttribute("Database_DefaultFileGroupName")>]
abstract DefaultFileGroup : string
function get DefaultFileGroup () : String

屬性值

型別:System. . :: . .String
A String value that specifies the default file group for the database.