Freigeben über


IDatabaseOptions.DefaultFileGroup-Eigenschaft

Gets the default file group used by the database.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayNameKeyAttribute("Database_DefaultFileGroupName")> _
<DisplayDescriptionKeyAttribute("Database_DefaultFileGroupDesc")> _
ReadOnly Property DefaultFileGroup As String 
    Get
'Usage
Dim instance As IDatabaseOptions 
Dim value As String 

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

Eigenschaftswert

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

Siehe auch

Verweis

IDatabaseOptions Schnittstelle

Microsoft.SqlServer.Management.Smo-Namespace