BackupDeviceItem.op_Equality Method
Determines whether two objects are equal by performing an equality operation on two BackupDeviceItem objects.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in microsoft.sqlserver.smoextended.dll)
Syntax
'Deklaracja
Public Shared Operator = ( _
r1 As BackupDeviceItem, _
r2 As BackupDeviceItem _
) As Boolean
public static bool operator == (
BackupDeviceItem r1,
BackupDeviceItem r2
)
public:
static bool operator == (
BackupDeviceItem^ r1,
BackupDeviceItem^ r2
)
J# does not support overloaded operators.
JScript supports the use of overloaded operators, but not the declaration of new ones.
Parameters
- r1
A BackupDeviceItem object that is used in the equality operation.
- r2
A BackupDeviceItem object that is used in the equality operation.
Return Value
A Boolean value that specifies the outcome of the equality operation. If True, the two objects are equal. Otherwise, False.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
See Also
Reference
BackupDeviceItem Class
BackupDeviceItem Members
Microsoft.SqlServer.Management.Smo Namespace