Statistic Statistic Statistic Constructors

Definition

Overloads

Statistic() Statistic() Statistic()

Initializes a new instance of the Statistic class.

Statistic(SqlSmoObject, String) Statistic(SqlSmoObject, String) Statistic(SqlSmoObject, String)

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

Statistic() Statistic() Statistic()

Initializes a new instance of the Statistic class.

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

Examples

Creating and Updating Statistics

Remarks

The default constructor initializes any fields to their default values.

Statistic(SqlSmoObject, String) Statistic(SqlSmoObject, String) Statistic(SqlSmoObject, String)

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

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

A SqlSmoObject object value that is the parent of the Statistic object.

name
String String String

A String value that specifies the name of the Statistic object.

Examples

Creating and Updating Statistics

Applies to