Share via


DataFileCollection-Klasse

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 (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public NotInheritable Class DataFileCollection _
    Inherits SimpleObjectCollectionBase
'Usage
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

Hinweise

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.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.