Condividi tramite


Proprietà DefaultFileGroup

Gets the default file group used by the database.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<DisplayDescriptionKeyAttribute("Database_DefaultFileGroupDesc")> _
<DisplayNameKeyAttribute("Database_DefaultFileGroupName")> _
ReadOnly Property DefaultFileGroup As String
    Get
'Utilizzo
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

Valore proprietà

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