BackupDeviceItem.GreaterThan 运算符

Determines whether one object is greater than another by performing an 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 支持使用重载的运算符,但不支持声明新重载运算符。

参数

返回值

类型: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.

示例

备份和还原数据库和事务日志

请参阅

参考

BackupDeviceItem 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

BACKUP (Transact-SQL)