Оператор Inequality
Determines whether two objects are unequal by performing an inequality operation on two BackupDeviceItem objects.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.SmoExtended (в Microsoft.SqlServer.SmoExtended.dll)
Синтаксис
'Декларация
Public Shared Operator <> ( _
r1 As BackupDeviceItem, _
r2 As BackupDeviceItem _
) As Boolean
'Применение
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 поддерживает использование перегруженных операторов, но не объявление новых.
Параметры
- r1
Тип: Microsoft.SqlServer.Management.Smo. . :: . .BackupDeviceItem
A BackupDeviceItem object that is used in the inequality operation.
- r2
Тип: Microsoft.SqlServer.Management.Smo. . :: . .BackupDeviceItem
A BackupDeviceItem object that is used in the inequality operation.
Возвращаемое значение
Тип: System. . :: . .Boolean
A Boolean value that specifies the outcome of the inequality operation.
If True, the two objects are unequal. Otherwise, False.
См. также