Operatore BackupDeviceItem.Equality
Determines whether two objects are equal by performing an equality operation on two BackupDeviceItem objects.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Sintassi
'Dichiarazione
Public Shared Operator = ( _
r1 As BackupDeviceItem, _
r2 As BackupDeviceItem _
) As Boolean
'Utilizzo
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 supporta l'utilizzo di operatori di overload , ma non la dichiarazione di nuovi operatori.
Parametri
- r1
Tipo: Microsoft.SqlServer.Management.Smo.BackupDeviceItem
A BackupDeviceItem object that is used in the equality operation.
- r2
Tipo: Microsoft.SqlServer.Management.Smo.BackupDeviceItem
A BackupDeviceItem object that is used in the equality operation.
Valore restituito
Tipo: System.Boolean
A Boolean value that specifies the outcome of the equality operation.If True, the two objects are equal. Otherwise, False.
Esempi
Backup e ripristino dei database e dei log delle transazioni
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Smo