Compartir a través de


DatabaseOptions.Alter Método (TimeSpan)

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub Alter ( _
    transactionTerminationTime As TimeSpan _
)
'Uso
Dim instance As DatabaseOptions 
Dim transactionTerminationTime As TimeSpan

instance.Alter(transactionTerminationTime)
public void Alter(
    TimeSpan transactionTerminationTime
)
public:
void Alter(
    TimeSpan transactionTerminationTime
)
member Alter : 
        transactionTerminationTime:TimeSpan -> unit
public function Alter(
    transactionTerminationTime : TimeSpan
)

Parámetros

  • transactionTerminationTime
    Tipo: System.TimeSpan
    A TimeSpan object value that specifies a period of time to allow transactions to complete before persisting the property changes with the Alter method.

Comentarios

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.

Ejemplos

Establecer propiedades

Vea también

Referencia

DatabaseOptions Clase

Sobrecarga de Alter

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Opciones de base de datos