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
)
參數
- terminationClause
型別:Microsoft.SqlServer.Management.Smo. . :: . .TerminationClause
A TerminationClause object value that specifies what to with any open transactions that are affected by the Alter method.
備註
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.