Proprietà LogFile.FileName
Gets or sets the file name of the log file.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property FileName As String
Get
Set
'Utilizzo
Dim instance As LogFile
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)
Valore proprietà
Tipo: System.String
A String value that specifies the file name for the log file.
Esempi
Utilizzo di filegroup e file per archiviare dati
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Smo