JsonScripter.ScriptSynchronize 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
ScriptSynchronize(String, String) |
Scripts out a given tabular database information into a Synchronize command. |
ScriptSynchronize(String, String, SynchronizeSecurity, Boolean) |
Scripts out a given tabular database information into a Synchronize command using additional synchronization options. |
ScriptSynchronize(String, String)
Scripts out a given tabular database information into a Synchronize command.
public static string ScriptSynchronize (string databaseName, string source);
static member ScriptSynchronize : string * string -> string
Public Shared Function ScriptSynchronize (databaseName As String, source As String) As String
Parameters
- databaseName
- String
The name of a the database to Synchronize.
- source
- String
The connection-string that provides the source for the database.
Returns
A String containing the Synchronize command.
Applies to
ScriptSynchronize(String, String, SynchronizeSecurity, Boolean)
Scripts out a given tabular database information into a Synchronize command using additional synchronization options.
public static string ScriptSynchronize (string databaseName, string source, Microsoft.AnalysisServices.SynchronizeSecurity synchronizeSecurity, bool applyCompression);
static member ScriptSynchronize : string * string * Microsoft.AnalysisServices.SynchronizeSecurity * bool -> string
Public Shared Function ScriptSynchronize (databaseName As String, source As String, synchronizeSecurity As SynchronizeSecurity, applyCompression As Boolean) As String
Parameters
- databaseName
- String
The name of a the database to Synchronize.
- source
- String
The connection-string that provides the source for the database.
- synchronizeSecurity
- SynchronizeSecurity
True, if security information should be synchronized; otherwise, false.
- applyCompression
- Boolean
True, if compression should be applyed; otherwise, false..
Returns
A String containing the Synchronize command.