IndexedColumn.ID Property
Applies To: SQL Server 2016 Preview
Gets the ID value that uniquely identifies the indexed column.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Matrix)]
public int ID { get; }
public:
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::SqlAzureDatabase | SfcPropertyFlags::Matrix)]
property int ID {
int get();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Matrix)>]
member ID : int with get
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Matrix)>
Public ReadOnly Property ID As Integer
Property Value
Type: System.Int32
An Int32 value that specifies the ID value of the indexed column.
Remarks
This property corresponds to the indexed column ID value held in the system tables.
Examples
Legacy Code Example
Creating, Altering, and Removing Indexes
See Also
IndexedColumn Class
Microsoft.SqlServer.Management.Smo Namespace
CREATE INDEX (Transact-SQL)
Unable to find linked topic '8de797d6-19da-44e8-9d24-c2689f42752b'.
Return to top