Compartir a través de


GreaterThan Operador

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Sintaxis

'Declaración
Public Shared Operator > ( _
    r1 As BackupDeviceItem, _
    r2 As BackupDeviceItem _
) As Boolean
'Uso
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 admite el uso de operadores sobrecargados, pero no la declaración de otros nuevos.

Parámetros

Valor devuelto

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