Propriété IServerSettings.NumberOfLogFiles
Gets or sets the NumberOfLogFiles property for an instance of SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<DisplayNameKeyAttribute("Server_NumberOfLogFilesName")> _
<DisplayDescriptionKeyAttribute("Server_NumberOfLogFilesDesc")> _
Property NumberOfLogFiles As Integer
Get
Set
'Utilisation
Dim instance As IServerSettings
Dim value As Integer
value = instance.NumberOfLogFiles
instance.NumberOfLogFiles = value
[DisplayNameKeyAttribute("Server_NumberOfLogFilesName")]
[DisplayDescriptionKeyAttribute("Server_NumberOfLogFilesDesc")]
int NumberOfLogFiles { get; set; }
[DisplayNameKeyAttribute(L"Server_NumberOfLogFilesName")]
[DisplayDescriptionKeyAttribute(L"Server_NumberOfLogFilesDesc")]
property int NumberOfLogFiles {
int get ();
void set (int value);
}
[<DisplayNameKeyAttribute("Server_NumberOfLogFilesName")>]
[<DisplayDescriptionKeyAttribute("Server_NumberOfLogFilesDesc")>]
abstract NumberOfLogFiles : int with get, set
function get NumberOfLogFiles () : int
function set NumberOfLogFiles (value : int)
Valeur de propriété
Type : System.Int32
The NumberOfLogFiles property for an instance of SQL Server.