Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
A String that specifies the full path of the directory in which to write the files.
true to overwrite files of the same name in the specified directory; otherwise, false.
The resulting files are valid definitions of the instance and applications at the time that you run the export command. You can use this information to back up your instance and application definitions or to generate files that you can use to create or update the instance.
You can export metadata while the Notification Services instance is running. There is no need to disable or stop the instance.
The resulting configuration file is named instance_name.config.xml. Each resulting ADF is named instance_name.application_name.adf.xml.
The Export method exports the files using UTF-8 encoding. To export the configuration and application definition files using other encodings, use the Export command in Microsoft SQL Server Management Studio.