Repository.EnforceRENOCompliance: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Template:APIClass|Repository Class|Repository}}
{{Template:API}}{{Template:APIBreadcrumb|9, 10|.[[Repository Class|Repository]]}}
If set to true, disallows spaces and special characters in names of models. This will ensure that all models can be used in RENO equations. The default value is True.


== Usage Example ==


<onlyinclude>Sets the RENO compatibility setting for model and workbook names. '''Boolean''', the default value is true.</onlyinclude>
When set to true, ensures that all models and workbooks can be used in RENO equations by disallowing spaces and special characters in the names of models published from any Synthesis desktop application, and in the names of workbooks created in BlockSim/RENO.</onlyinclude>
== Syntax ==
'''.EnforceRENOCompliance'''
== Example ==
'''VBA|VB.NET'''
  {{APIComment|'Declare a new repository connection object.}}
  {{APIComment|'Declare a new repository connection object.}}
   Dim MyRepository As New Repository
   Dim MyRepository As New Repository
   
   
  {{APIComment|'Disable the RENO compliance.}}
  {{APIComment|'Disable the RENO compliance setting.}}
   MyRepository.EnforceRENOCompliance = False
   MyRepository.EnforceRENOCompliance = False

Revision as of 16:08, 21 July 2015

APIWiki.png


Member of: SynthesisAPI9, 10.Repository


Sets the RENO compatibility setting for model and workbook names. Boolean, the default value is true.

When set to true, ensures that all models and workbooks can be used in RENO equations by disallowing spaces and special characters in the names of models published from any Synthesis desktop application, and in the names of workbooks created in BlockSim/RENO.

Syntax

.EnforceRENOCompliance


Example

VBA|VB.NET 

 'Declare a new repository connection object. 
 Dim MyRepository As New Repository

 'Disable the RENO compliance setting. 
 MyRepository.EnforceRENOCompliance = False