다음을 통해 공유


GreaterThan 연산자

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.SmoExtended.dll의 Microsoft.SqlServer.SmoExtended

구문

‘선언
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는 오버로드된 연산자의 사용을 지원하지만 새로운 오버로드된 연산자 선언은 지원하지 않습니다.

매개 변수

반환 값

형식: 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.