Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataFileCollection.Item Property (Int32)


Gets a DataFile object in the collection by index number.

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

public DataFile this[
	int index
] { get; }


Type: System.Int32

An Int32 value that specifies the position of the DataFile object in the DataFileCollection collection.

Property Value

Type: Microsoft.SqlServer.Management.Smo.DataFile

A DataFile object value that represents the database file.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft