Index.FillFactor 属性
Gets or sets the percentage of an index page to fill when the index is created or re-created.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design Or SfcPropertyFlags.Deploy)> _
Public Property FillFactor As Byte
Get
Set
用法
Dim instance As Index
Dim value As Byte
value = instance.FillFactor
instance.FillFactor = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design|SfcPropertyFlags.Deploy)]
public byte FillFactor { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design|SfcPropertyFlags::Deploy)]
public:
property unsigned char FillFactor {
unsigned char get ();
void set (unsigned char value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design|SfcPropertyFlags.Deploy)>]
member FillFactor : byte with get, set
function get FillFactor () : byte
function set FillFactor (value : byte)
属性值
类型:System.Byte
A Byte value that specifies proportion of the index page to fill, in percent.
注释
注意 |
---|
For indexes based on the UserDefinedTableType object the value of FillFactor value is provided by sys.indexes and the value of FillFactor property is ignored. |
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间