ApplicationDatabaseFileGroup Constructor ()
Initializes a new instance of the ApplicationDatabaseFileGroup class.
Namespace: Microsoft.SqlServer.Management.Nmo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Declaration
Public Sub New
public ApplicationDatabaseFileGroup ()
public:
ApplicationDatabaseFileGroup ()
public ApplicationDatabaseFileGroup ()
public function ApplicationDatabaseFileGroup ()
Hinweise
Aktualisierter Text:05. Dezember 2005
Aktualisierter Beispielcode:05. Dezember 2005
If you use the default constructor, you must immediately set the Name property and the Parent property. You can then set other properties.
Beispiel
The following examples show how to use the default constructor for the ApplicationDatabaseFileGroup class:
// Create filegroup and set required properties.
ApplicationDatabaseFileGroup adb_fg =
new ApplicationDatabaseFileGroup();
adb_fg.Name = "PRIMARY";
adb_fg.Parent = adb;
adb.ApplicationDatabaseFileGroups.Add(adb_fg);
' Create filegroup and set required properties.
Dim adb_fg As ApplicationDatabaseFileGroup = _
New ApplicationDatabaseFileGroup()
adb_fg.Name = "PRIMARY"
adb_fg.Parent = adb
adb.ApplicationDatabaseFileGroups.Add(adb_fg)
Plattformen
Entwicklungsplattformen
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Zielplattforme
Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.
Siehe auch
Verweis
ApplicationDatabaseFileGroup Class
ApplicationDatabaseFileGroup Members
Microsoft.SqlServer.Management.Nmo Namespace