Propriedade do RDL FileGroup.Files

Represents a collection of DataFile objects. Each DataFile object represents a file belonging to the file group.

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

Sintaxe

'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(DataFile))> _
Public ReadOnly Property Files As DataFileCollection 
    Get
'Uso
Dim instance As FileGroup 
Dim value As DataFileCollection 

value = instance.Files
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(DataFile))]
public DataFileCollection Files { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(DataFile))]
public:
property DataFileCollection^ Files {
    DataFileCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(DataFile))>]
member Files : DataFileCollection
function get Files () : DataFileCollection

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.DataFileCollection
A DataFileCollection object that represents all the data files defined on the database.

Exemplos

Trabalhando com objetos de banco de dados

Consulte também

Referência

FileGroup Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Usando arquivos e grupos de arquivos

CREATE TABLE (Transact-SQL)