Partilhar via


Propriedade Files

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

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

Sintaxe

'Declaração
<ExtendedPropertyAttribute> _
Public ReadOnly Property Files As ReadOnlyCollection(Of DataFile)
    Get
'Uso
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>

Valor da propriedade

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