共用方式為


BackupSetCollection.Item 屬性

Gets the backup set at the specified index.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public ReadOnly Default Property Item ( _
    index As Integer _
) As BackupSet 
    Get
'用途
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 支援索引屬性的使用,但不支援新屬性的宣告。

參數

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.BackupSet
The backup set.

請參閱

參考

BackupSetCollection 類別

Microsoft.SqlServer.Management.Smo 命名空間