Share via


Classe DataFileCollection

The DataFileCollection class represents a collection of DataFile objects that represent all the data files defined on the parent object.

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

Sintaxe

'Declaração
Public NotInheritable Class DataFileCollection _
    Inherits SimpleObjectCollectionBase
'Uso
Dim instance As DataFileCollection
public sealed class DataFileCollection : SimpleObjectCollectionBase
public ref class DataFileCollection sealed : public SimpleObjectCollectionBase
[<SealedAttribute>]
type DataFileCollection =  
    class
        inherit SimpleObjectCollectionBase
    end
public final class DataFileCollection extends SimpleObjectCollectionBase

Comentários

A DataFileCollection object can be used to gain access to a set of check constraints. You can use the Item property to return a specific DataFile object.

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.