DatabaseFile.Shrink(Int32, ShrinkMethod) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Réduit un fichier dbfile ou un fichier journal
public void Shrink(int newSizeInMB, Microsoft.SqlServer.Management.Smo.ShrinkMethod shrinkType);
member this.Shrink : int * Microsoft.SqlServer.Management.Smo.ShrinkMethod -> unit
Public Sub Shrink (newSizeInMB As Integer, shrinkType As ShrinkMethod)
Paramètres
- newSizeInMB
- Int32
- shrinkType
- ShrinkMethod