Partager via


Statistic Constructor (SqlSmoObject, String)

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

Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    parent As SqlSmoObject, _
    name As String _
)
public Statistic (
    SqlSmoObject parent,
    string name
)
public:
Statistic (
    SqlSmoObject^ parent, 
    String^ name
)
public Statistic (
    SqlSmoObject parent, 
    String name
)
public function Statistic (
    parent : SqlSmoObject, 
    name : String
)

Paramètres

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

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Exemple

How to: Create and Update Statistics in Visual Basic .NET

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

Statistic Class
Statistic Members
Microsoft.SqlServer.Management.Smo Namespace

Autres ressources

Creating and Updating Statistics
CREATE STATISTICS (Transact-SQL)