Propriedade do RDL DataFile.FileName

Gets or sets the data file name.

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

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property FileName As String 
    Get 
    Set
'Uso
Dim instance As DataFile 
Dim value As String 

value = instance.FileName

instance.FileName = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public string FileName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property String^ FileName {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member FileName : string with get, set
function get FileName () : String 
function set FileName (value : String)

Valor da propriedade

Tipo: System.String
A String value that specifies the name of the data file.

Exemplos

Usando grupos de arquivos e arquivos para armazenar dados

Consulte também

Referência

DataFile Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Arquitetura de arquivos e grupos de arquivos

CREATE DATABASE (Transact-SQL)