Partilhar via


Classe FileGroupCollection

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
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

Comentários

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

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Segurança de thread

Quaisquer membros static (Shared no Visual Basic) públicos deste tipo são thread-safe. Não há garantia de que qualquer membro de instância seja thread-safe.