BackupDeviceItem.Equality 연산자
Determines whether two objects are equal by performing an equality 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 equality operation.
- r2
유형: Microsoft.SqlServer.Management.Smo.BackupDeviceItem
A BackupDeviceItem object that is used in the equality operation.
반환 값
유형: System.Boolean
A Boolean value that specifies the outcome of the equality operation.If True, the two objects are equal. Otherwise, False.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스