InstanceDatabaseOptions.InstanceDatabaseFileGroups Property
Gets the collection of InstanceDatabaseFileGroup objects for the Notification ServicesInstance.
Namespace: Microsoft.SqlServer.Management.Nmo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Declaration
Public ReadOnly Property InstanceDatabaseFileGroups As InstanceDatabaseFileGroupCollection
public InstanceDatabaseFileGroupCollection InstanceDatabaseFileGroups { get; }
public:
property InstanceDatabaseFileGroupCollection^ InstanceDatabaseFileGroups {
InstanceDatabaseFileGroupCollection^ get ();
}
/** @property */
public InstanceDatabaseFileGroupCollection get_InstanceDatabaseFileGroups ()
public function get InstanceDatabaseFileGroups () : InstanceDatabaseFileGroupCollection
Eigenschaftswert
An InstanceDatabaseFileGroupCollection collection.
Hinweise
Use the methods of the InstanceDatabaseFileGroupCollection class to add or remove InstanceDatabaseFileGroup objects.
Beispiel
The following examples show how to define a filegroup for an instance database and then add it to the collection of filegroups:
InstanceDatabaseFileGroup idb_fg =
new InstanceDatabaseFileGroup(idb, "PRIMARY");
idb.InstanceDatabaseFileGroups.Add(idb_fg);
Dim idb_fg As InstanceDatabaseFileGroup = _
New InstanceDatabaseFileGroup(idb, "PRIMARY")
idb.InstanceDatabaseFileGroups.Add(idb_fg)
Threadsicherheit
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
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
InstanceDatabaseOptions Class
InstanceDatabaseOptions Members
Microsoft.SqlServer.Management.Nmo Namespace