Share via


FileGroupCollection Clase

The FileGroupCollection class represents a collection of FileGroup objects that represent all the filegroups defined on the parent database.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public NotInheritable Class FileGroupCollection _
    Inherits SimpleObjectCollectionBase
'Uso
Dim instance As FileGroupCollection
public sealed class FileGroupCollection : SimpleObjectCollectionBase
public ref class FileGroupCollection sealed : public SimpleObjectCollectionBase
[<SealedAttribute>]
type FileGroupCollection =  
    class
        inherit SimpleObjectCollectionBase
    end
public final class FileGroupCollection extends SimpleObjectCollectionBase

Notas

A FileGroupCollection object can be used to gain access to a set of filegroups. You can use the Item property to return a specific FileGroup object.

Thread Safety

Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Ejemplos

Usar colecciones

Seguridad para subprocesos

Todos los miembros públicos static (Shared en Visual Basic) de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.