CreateStatisticsStatement.OnName Property

Gets or sets the table or view this statistic is on.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property OnName As SchemaObjectName 
    Get 
    Set
'Usage
Dim instance As CreateStatisticsStatement 
Dim value As SchemaObjectName 

value = instance.OnName

instance.OnName = value
public SchemaObjectName OnName { get; set; }
public:
property SchemaObjectName^ OnName {
    SchemaObjectName^ get ();
    void set (SchemaObjectName^ value);
}
member OnName : SchemaObjectName with get, set
function get OnName () : SchemaObjectName 
function set OnName (value : SchemaObjectName)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.SchemaObjectName
The table or view this statistic is on.

See Also

Reference

CreateStatisticsStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace