JsonScripter.ScriptApplyAutomaticAggregations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ScriptApplyAutomaticAggregations(Database) |
Scripts out a given tabular database into an ApplyAutomaticAggregations command. |
ScriptApplyAutomaticAggregations(String) |
Obsolete.
Scripts out a given Tabular database into an ApplyAutomaticAggregations command. |
ScriptApplyAutomaticAggregations(Database, AutomaticAggregationOptions) |
Scripts out a given tabular database into an ApplyAutomaticAggregations command while applying the specified aggragations options. |
ScriptApplyAutomaticAggregations(String, AutomaticAggregationOptions) |
Obsolete.
Scripts out a given tabular database into an ApplyAutomaticAggregations command while applying the specified aggragations options. |
ScriptApplyAutomaticAggregations(Database)
Scripts out a given tabular database into an ApplyAutomaticAggregations command.
public static string ScriptApplyAutomaticAggregations (Microsoft.AnalysisServices.Core.Database database);
static member ScriptApplyAutomaticAggregations : Microsoft.AnalysisServices.Core.Database -> string
Public Shared Function ScriptApplyAutomaticAggregations (database As Database) As String
Parameters
- database
- Database
The database to script.
Returns
A String containing the ApplyAutomaticAggregations command.
Applies to
ScriptApplyAutomaticAggregations(String)
Caution
Deprecated. Use the ScriptApplyAutomaticAggregations(Database) overload that accepts the database as parameter instead.
Scripts out a given Tabular database into an ApplyAutomaticAggregations command.
[System.Obsolete("Deprecated. Use the ScriptApplyAutomaticAggregations(Database) overload that accepts the database as parameter instead.")]
public static string ScriptApplyAutomaticAggregations (string databaseName);
[<System.Obsolete("Deprecated. Use the ScriptApplyAutomaticAggregations(Database) overload that accepts the database as parameter instead.")>]
static member ScriptApplyAutomaticAggregations : string -> string
Public Shared Function ScriptApplyAutomaticAggregations (databaseName As String) As String
Parameters
- databaseName
- String
Name of a tabular database.
Returns
A String containing the ApplyAutomaticAggregations command.
- Attributes
Applies to
ScriptApplyAutomaticAggregations(Database, AutomaticAggregationOptions)
Scripts out a given tabular database into an ApplyAutomaticAggregations command while applying the specified aggragations options.
public static string ScriptApplyAutomaticAggregations (Microsoft.AnalysisServices.Core.Database database, Microsoft.AnalysisServices.Tabular.AutomaticAggregationOptions options);
static member ScriptApplyAutomaticAggregations : Microsoft.AnalysisServices.Core.Database * Microsoft.AnalysisServices.Tabular.AutomaticAggregationOptions -> string
Public Shared Function ScriptApplyAutomaticAggregations (database As Database, options As AutomaticAggregationOptions) As String
Parameters
- database
- Database
The database to script.
- options
- AutomaticAggregationOptions
Options of automatic aggregations
Returns
A String containing the ApplyAutomaticAggregations command.
Applies to
ScriptApplyAutomaticAggregations(String, AutomaticAggregationOptions)
Caution
Deprecated. Use the ScriptApplyAutomaticAggregations(Database, AutomaticAggregationOptions) overload that accepts the database as parameter instead.
Scripts out a given tabular database into an ApplyAutomaticAggregations command while applying the specified aggragations options.
[System.Obsolete("Deprecated. Use the ScriptApplyAutomaticAggregations(Database, AutomaticAggregationOptions) overload that accepts the database as parameter instead.")]
public static string ScriptApplyAutomaticAggregations (string databaseName, Microsoft.AnalysisServices.Tabular.AutomaticAggregationOptions options);
[<System.Obsolete("Deprecated. Use the ScriptApplyAutomaticAggregations(Database, AutomaticAggregationOptions) overload that accepts the database as parameter instead.")>]
static member ScriptApplyAutomaticAggregations : string * Microsoft.AnalysisServices.Tabular.AutomaticAggregationOptions -> string
Public Shared Function ScriptApplyAutomaticAggregations (databaseName As String, options As AutomaticAggregationOptions) As String
Parameters
- databaseName
- String
Name of a tabular database.
- options
- AutomaticAggregationOptions
Options of automatic aggregations
Returns
A String containing the ApplyAutomaticAggregations command.
- Attributes