Поделиться через


Метод DatabaseOptions.Alter (TerminationClause)

Updates any DatabaseOptions object property changes on the instance of SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Sub Alter ( _
    terminationClause As TerminationClause _
)
'Применение
Dim instance As DatabaseOptions 
Dim terminationClause As TerminationClause

instance.Alter(terminationClause)
public void Alter(
    TerminationClause terminationClause
)
public:
void Alter(
    TerminationClause terminationClause
)
member Alter : 
        terminationClause:TerminationClause -> unit
public function Alter(
    terminationClause : TerminationClause
)

Параметры

Замечания

The Alter method updates any changes that have been made to the DatabaseOptions object's properties since the DatabaseOptions object was created or since the last Alter statement. The modifications are combined and sent to the instance of SQL Server in a single network trip to the instance of SQL Server.

Примеры

Установка свойств

См. также

Справочник

DatabaseOptions Класс

Перегрузка Alter

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Параметры базы данных