Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Initializes a new instance of the FileGroup class on the specified database with the specified name.
Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
database As Database, _
name As String _
)
public FileGroup (
Database database,
string name
)
public:
FileGroup (
Database^ database,
String^ name
)
public FileGroup (
Database database,
String name
)
public function FileGroup (
database : Database,
name : String
)
Parametri
- database
A Database object value that represents the database that stores files in the file group.
- name
A String value that represents the name of the file group.
Osservazioni
Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.
Esempio
How to: Add FileGroups and DataFiles to a Database in Visual Basic .NET
Piattaforme
Piattaforme di sviluppo
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Piattaforme di destinazione
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Vedere anche
Riferimento
FileGroup Class
FileGroup Members
Microsoft.SqlServer.Management.Smo Namespace
Altre risorse
Using Filegroups and Files to Store Data
Utilizzo di file e filegroup
CREATE TABLE (Transact-SQL)