BackupDeviceCollection.Item Propiedad (String)
Gets a BackupDevice object in the collection by name.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
name As String _
) As BackupDevice
Get
'Uso
Dim instance As BackupDeviceCollection
Dim name As String
Dim value As BackupDevice
value = instance(name)
public BackupDevice this[
string name
] { get; }
public:
property BackupDevice^ default[String^ name] {
BackupDevice^ get (String^ name);
}
member Item : BackupDevice
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System.String
A String value that specifies the name of the BackupDevice object in the BackupDeviceCollection collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.BackupDevice
A BackupDevice object value that represents the backup device.