Partager via


Propriété Files

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<ExtendedPropertyAttribute> _
Public ReadOnly Property Files As ReadOnlyCollection(Of DataFile)
    Get
'Utilisation
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>

Valeur de propriété

Type : System.Collections.ObjectModel. . :: . .ReadOnlyCollection< (Of < ( <'DataFile> ) > ) >
ReadOnlyCollection