Clase BackupDeviceItem
The BackupDeviceItem object provides programmatic access to named SQL Server backup devices.
Jerarquía de herencia
System. . :: . .Object
Microsoft.SqlServer.Management.Smo..::..BackupDeviceItem
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Sintaxis
'Declaración
Public Class BackupDeviceItem _
Implements IComparable
'Uso
Dim instance As BackupDeviceItem
public class BackupDeviceItem : IComparable
public ref class BackupDeviceItem : IComparable
type BackupDeviceItem =
class
interface IComparable
end
public class BackupDeviceItem implements IComparable
El tipo BackupDeviceItem expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
BackupDeviceItem() () () () | Initializes a new instance of the BackupDeviceItem class. | |
BackupDeviceItem(String, DeviceType) | Initializes a new instance of the [BackupDeviceItem] class that has the specified name and kind of device. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
DeviceType | Gets the kind of device for the BackupDeviceItem object. | |
Name | Gets the name of device for the BackupDeviceItem object. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
CompareTo | Verifies whether the specified object shares the same name as the referenced BackupDeviceItem object. | |
Equals | Determines whether the current object is the same as the specified object. (Invalida Object. . :: . .Equals(Object).) | |
Finalize | (Se hereda de Object.) | |
GetHashCode | Gets the hash code for the object. (Invalida Object. . :: . .GetHashCode() () () ().) | |
GetType | (Se hereda de Object.) | |
MemberwiseClone | (Se hereda de Object.) | |
ToString | (Se hereda de Object.) |
Arriba
Operadores
Nombre | Descripción | |
---|---|---|
Equality | Determines whether two objects are equal by performing an equality operation on two BackupDeviceItem objects. | |
GreaterThan | Determines whether one object is greater than another by performing an operation on two BackupDeviceItem objects. | |
Inequality | Determines whether two objects are unequal by performing an inequality operation on two BackupDeviceItem objects. | |
LessThan | Determines whether one object is less than another by performing an operation on two BackupDeviceItem objects. |
Arriba
Comentarios
With the BackupDeviceItem object, you can do the following:
Access the backup device by name.
Verify whether two named backup devices are the same.
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Vea también