Classe LogFileCollection

The LogFileCollection class represents a collection of LogFile objects that represent all the log files defined on the instance of Microsoft SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public NotInheritable Class LogFileCollection _
    Inherits SimpleObjectCollectionBase
'Utilisation
Dim instance As LogFileCollection
public sealed class LogFileCollection : SimpleObjectCollectionBase
public ref class LogFileCollection sealed : public SimpleObjectCollectionBase
[<SealedAttribute>]
type LogFileCollection =  
    class
        inherit SimpleObjectCollectionBase
    end
public final class LogFileCollection extends SimpleObjectCollectionBase

Notes

A LogFileCollection object can be used to gain access to a set of log files. You can use the Item property to return a specific LogFile object.

Thread Safety

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme sûrs.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.