Update_A_Dynamo_By_Name Method

Updates a Dynamo by using the fully qualified name of the Master Dynamo and its instance.

Syntax

object.Update_A_Dynamo_By_Name (bstrMasterDynamoName, bstrDynamoInstanceName, nDataSourceMismatchOption, bstrChoiceDialogTitle, pnResultCode)

Properties

The Update_A_Dynamo_By_Name method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

bstrMasterDynamoName

String. The fully qualified name of the Master Dynamo.

bstrDynamoInstanceName

String. The fully qualified name of the Dynamo instance.

nDataSourceMismatchOption

Integer. The Dynamo mismatch option code:

0 – Update, but do not apply data sources
1 – Update and attempt to match data sources
2 – Do not update
3 – Prompt for choice

bstrChoiceDialogTitle

String. If Prompt for choice (3) is entered for the nDataSourceMismatchOption and a mismatch occurs, the bstrChoiceDialogTitle is the caption in the title bar of the Prompt for choice dialog box.  

pnResultCode

The result code:

0 – Success
1 – All data sources ignored
2 – Some data sources ignored
3 – Not enough data sources
101 – Dynamo not updated
201 – Cancelled
202 – Failure
203 – Invalid argument Dynamo Instance
204 – Invalid argument Dynamo Master
205 – Invalid mismatch option argument
206 – Invalid Pointer
207 – Instance does not match Master
208 – An owner of either the Instance or Master is NULL

 

Example

Applies To