SqlServices.GenerateApplicationServicesScripts 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.
Generates the SQL scripts for the selected features. The scripts will reference the database indicated by the database parameter.
public:
static System::String ^ GenerateApplicationServicesScripts(bool install, System::Web::Management::SqlFeatures features, System::String ^ database);
public static string GenerateApplicationServicesScripts (bool install, System.Web.Management.SqlFeatures features, string database);
static member GenerateApplicationServicesScripts : bool * System.Web.Management.SqlFeatures * string -> string
Public Shared Function GenerateApplicationServicesScripts (install As Boolean, features As SqlFeatures, database As String) As String
Parameters
- install
- Boolean
true
to generate a script that installs the specified features; false
to generate a script that removes the features.
- features
- SqlFeatures
A bitwise combination of the SqlFeatures values, specifying the specific features for which to generate scripts.
- database
- String
The name of the SQL Server database to use in the generated scripts.
Returns
Returns the generated script code.