Share via


DatabaseSnapshotExtender.Files Property

Gets a collection of the data and log files that are associated with a database.

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

Syntax

'Declaration
<ExtendedPropertyAttribute> _
Public ReadOnly Property Files As ReadOnlyCollection(Of DataFile)
    Get
'Usage
Dim instance As DatabaseSnapshotExtender
Dim value As ReadOnlyCollection(Of DataFile)

value = instance.Files
[ExtendedPropertyAttribute]
public ReadOnlyCollection<DataFile> Files { get; }
[ExtendedPropertyAttribute]
public:
property ReadOnlyCollection<DataFile^>^ Files {
    ReadOnlyCollection<DataFile^>^ get ();
}
[<ExtendedPropertyAttribute>]
member Files : ReadOnlyCollection<DataFile>
function get Files () : ReadOnlyCollection<DataFile>

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<DataFile>
ReadOnlyCollection