Bagikan melalui


BackupSetCollection.Item Property

Gets the backup set at the specified index.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As BackupSet 
    Get
'Usage
Dim instance As BackupSetCollection 
Dim index As Integer 
Dim value As BackupSet 

value = instance(index)
public BackupSet this[
    int index
] { get; }
public:
property BackupSet^ default[int index] {
    BackupSet^ get (int index);
}
member Item : BackupSet
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

  • index
    Type: System.Int32
    The zero-based index at which to get the backup set.

Property Value

Type: Microsoft.SqlServer.Management.Smo.BackupSet
The backup set.

See Also

Reference

BackupSetCollection Class

Microsoft.SqlServer.Management.Smo Namespace