ShrinkMethod Enumeration
The ShrinkMethod enumeration contains values that are used to specify the method used shrink a database file.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
구문
‘선언
Public Enumeration ShrinkMethod
public enum ShrinkMethod
public enum class ShrinkMethod
public enum ShrinkMethod
public enum ShrinkMethod
Members
Member name | Description |
---|---|
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. |
주의
The ShrinkMethod enumeration class is served by the Shrink method.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
플랫폼
개발 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
대상 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.