Statistic Constructor (SqlSmoObject, String)
Initializes a new instance of the Statistic class on the specified parent object and with the specified name.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub New ( _
parent As SqlSmoObject, _
name As String _
)
'Uso
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
)
Parámetros
- parent
Tipo: Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject object value that is the parent of the Statistic object.
- name
Tipo: System.String
A String value that specifies the name of the Statistic object.
Ejemplos
Crear y actualizar estadísticas
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo