Bagikan melalui


BackupSetCollection Class

Represents a collection of backup set.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.BackupSetCollection

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

Syntax

'Declaration
Public NotInheritable Class BackupSetCollection _
    Implements ICollection, IEnumerable
'Usage
Dim instance As BackupSetCollection
public sealed class BackupSetCollection : ICollection, 
    IEnumerable
public ref class BackupSetCollection sealed : ICollection, 
    IEnumerable
[<SealedAttribute>]
type BackupSetCollection =  
    class 
        interface ICollection 
        interface IEnumerable 
    end
public final class BackupSetCollection implements ICollection, IEnumerable

The BackupSetCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements contained in the collection.
Public property IsSynchronized Gets a value that indicates whether access to the collection is synchronized (thread safe).
Public property Item Gets the backup set at the specified index.
Public property SyncRoot Gets an object that can be used to synchronize access to the collection.

Top

Methods

  Name Description
Public method CopyTo Copies the elements of the collection to an array, starting at a particular array index.
Public method Equals (Inherited from Object.)
Public method GetEnumerator Gets an enumerator object that can be used to iterate through the collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace