Index Index Index Constructors

Definition

Overloads

Index() Index() Index()

Initializes a new instance of the Index class.

Index(SqlSmoObject, String) Index(SqlSmoObject, String) Index(SqlSmoObject, String)

Initializes a new instance of the Index class on the specified parent object and with the specified name.

Index() Index() Index()

Initializes a new instance of the Index class.

public:
 Index();
public Index ();
Public Sub New ()

Examples

Creating, Altering, and Removing Indexes

Remarks

The default constructor initializes any fields to their default values.

Index(SqlSmoObject, String) Index(SqlSmoObject, String) Index(SqlSmoObject, String)

Initializes a new instance of the Index class on the specified parent object and with the specified name.

public:
 Index(Microsoft::SqlServer::Management::Smo::SqlSmoObject ^ parent, System::String ^ name);
public Index (Microsoft.SqlServer.Management.Smo.SqlSmoObject parent, string name);
Public Sub New (parent As SqlSmoObject, name As String)
Parameters
parent
SqlSmoObject SqlSmoObject SqlSmoObject

An SqlSmoObject that specifies the parent of the Index object.

name
String String String

A String that specifies the name of the index.

Examples

Creating, Altering, and Removing Indexes

Applies to