Freigeben über


BackupDeviceItem.LessThan-Operator

Determines whether one object is less than another by performing an operation on two BackupDeviceItem objects.

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

Syntax

'Declaration
Public Shared Operator < ( _
    r1 As BackupDeviceItem, _
    r2 As BackupDeviceItem _
) As Boolean
'Usage
Dim r1 As BackupDeviceItem 
Dim r2 As BackupDeviceItem 
Dim returnValue As Boolean 

returnValue = (r1 < r2)
public static bool operator <(
    BackupDeviceItem r1,
    BackupDeviceItem r2
)
public:
static bool operator <(
    BackupDeviceItem^ r1, 
    BackupDeviceItem^ r2
)
static let inline(<)
        r1:BackupDeviceItem * 
        r2:BackupDeviceItem  : bool
JScript unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.

Parameter

Rückgabewert

Typ: System.Boolean
A Boolean value that specifies the outcome of the operation to determine whether one object is less than the other.If True, the first object is less than the second. Otherwise, False.

Beispiele

Sichern und Wiederherstellen von Datenbanken und Transaktionsprotokollen

Siehe auch

Verweis

BackupDeviceItem Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

BACKUP (Transact-SQL)