Compartir a través de


Enumeración ShrinkMethod

The ShrinkMethod enumeration contains values that are used to specify the method that is used shrink a database file.

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

Sintaxis

'Declaración
Public Enumeration ShrinkMethod
'Uso
Dim instance As ShrinkMethod
public enum ShrinkMethod
public enum class ShrinkMethod
type ShrinkMethod
public enum ShrinkMethod

Miembros

Nombre del miembro Descripción
Default Data in pages located at the end of a file is moved to pages earlier in the file. Files are truncated to reflect allocated space.
EmptyFile Migrates all of the data from the referenced file to other files in the same filegroup. (DataFileand LogFile objects only).
NoTruncate Data in pages located at the end of a file is moved to pages earlier in the file.
TruncateOnly Data distribution is not affected. Files are truncated to reflect allocated space, recovering free space at the end of any file.

Comentarios

The ShrinkMethod enumeration class is served by the Shrink method.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Management.Smo