Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Verifies whether the specified object shares the same name as the referenced BackupDeviceItem object.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Синтаксис
'Декларация
Public Function CompareTo ( _
obj As Object _
) As Integer
public int CompareTo (
Object obj
)
public:
virtual int CompareTo (
Object^ obj
) sealed
public final int CompareTo (
Object obj
)
public final function CompareTo (
obj : Object
) : int
Параметры
- obj
A Object object value that is used to specify object that is compared with referenced BackupDeviceItem object.
Возвращаемое значение
A Int32 value that specifies the lexical relationship between the two strings.
Value |
Description |
Less than zero |
The referenced object name is less than the object name specified by the parameter. |
Zero |
The referenced object name is equal to the object name specified by the parameter. |
Greater than zero |
The referenced object name is greater than the object name specified by the parameter. |
Замечания
Изменения текста
The comparison of object names is case-insensitive, meaning that "MyTable" is the same as "mytable".
Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.
Синхронизация потоков
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.
Платформы
Платформы разработки
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
Целевые платформы
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
См. также
Справочник
BackupDeviceItem Class
BackupDeviceItem Members
Microsoft.SqlServer.Management.Smo Namespace
Другие ресурсы
How to: Back Up Databases and Transaction Logs in Visual Basic .NET
BACKUP (Transact-SQL)
Резервное копирование и восстановление баз данных в SQL Server