Database.Shrink(Int32, ShrinkMethod) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Compatta un database
public void Shrink(int percentFreeSpace, Microsoft.SqlServer.Management.Smo.ShrinkMethod shrinkMethod);
member this.Shrink : int * Microsoft.SqlServer.Management.Smo.ShrinkMethod -> unit
Public Sub Shrink (percentFreeSpace As Integer, shrinkMethod As ShrinkMethod)
Parametri
- percentFreeSpace
- Int32
- shrinkMethod
- ShrinkMethod