Compartir a través de


FileName Propiedad

Gets or sets the file name of the log file.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property FileName As String
    Get
    Set
'Uso
Dim instance As LogFile
Dim value As String

value = instance.FileName

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

Valor de la propiedad

Tipo: System. . :: . .String
A String value that specifies the file name for the log file.