Classe BackupDeviceItem
The BackupDeviceItem object provides programmatic access to named SQL Server backup devices.
Gerarchia di ereditarietà
System. . :: . .Object
Microsoft.SqlServer.Management.Smo..::..BackupDeviceItem
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Sintassi
'Dichiarazione
Public Class BackupDeviceItem _
Implements IComparable
'Utilizzo
Dim instance As BackupDeviceItem
public class BackupDeviceItem : IComparable
public ref class BackupDeviceItem : IComparable
type BackupDeviceItem =
class
interface IComparable
end
public class BackupDeviceItem implements IComparable
Nel tipo BackupDeviceItem sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
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. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
DeviceType | Gets the kind of device for the BackupDeviceItem object. | |
Name | Gets the name of device for the BackupDeviceItem object. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
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. Esegue l'override di Object. . :: . .Equals(Object). | |
Finalize | Ereditato da Object. | |
GetHashCode | Gets the hash code for the object. Esegue l'override di Object. . :: . .GetHashCode() () () (). | |
GetType | Ereditato da Object. | |
MemberwiseClone | Ereditato da Object. | |
ToString | Ereditato da Object. |
In alto
Operatori
Nome | Descrizione | |
---|---|---|
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. |
In alto
Osservazioni
With the BackupDeviceItem object, you can do the following:
Access the backup device by name.
Verify whether two named backup devices are the same.
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.
Vedere anche