Statistic Constructor (SqlSmoObject, String)

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub New ( _
    parent As SqlSmoObject, _
    name As String _
)
'Usage
Dim parent As SqlSmoObject 
Dim name As String 

Dim instance As New Statistic(parent, _
    name)
public Statistic(
    SqlSmoObject parent,
    string name
)
public:
Statistic(
    SqlSmoObject^ parent, 
    String^ name
)
new : 
        parent:SqlSmoObject * 
        name:string -> Statistic
public function Statistic(
    parent : SqlSmoObject, 
    name : String
)

Parameters

Examples

Creating and Updating Statistics

See Also

Reference

Statistic Class

Statistic Overload

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE STATISTICS (Transact-SQL)