<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.reliawiki.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Albert+Szeto</id>
	<title>ReliaWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.reliawiki.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Albert+Szeto"/>
	<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php/Special:Contributions/Albert_Szeto"/>
	<updated>2026-04-05T11:45:02Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=CModel.Bounds_Parameters&amp;diff=46046</id>
		<title>CModel.Bounds Parameters</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=CModel.Bounds_Parameters&amp;diff=46046"/>
		<updated>2013-11-15T00:24:09Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|CModel Class|CModel}} &lt;br /&gt;
Returns bounds on the parameters. Requires the Confidence level to be set. See [[CModel.SetConfindenceLevel|SetConfindenceLevel]].&lt;br /&gt;
&lt;br /&gt;
== Syntax==&lt;br /&gt;
{{APIName|Bounds_Parameters}}&lt;br /&gt;
{{APIName|()}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|List(}}&lt;br /&gt;
{{APIPrefix|Of}}&lt;br /&gt;
{{APIName|[[ParamBoundsValues Class|ParamBoundsValues]])}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Returns an array containing bounds on all model parameters.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToRepository(&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the list of Projects in the connected repository.}}&lt;br /&gt;
        Dim ListOfModels() As [[NameIdPair Class|NameIdPair]]&lt;br /&gt;
        ListOfModels = MyRepository.GetAllModelsInfo()&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Select the ID of the model and retrieve it.}}&lt;br /&gt;
        Dim AModel as cModel&lt;br /&gt;
        AModel = MyRepository.GetModel(ListOfModels(0).ID)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the Bounds parameters.}}&lt;br /&gt;
        Dim ModelBoundsParameters() as [[ParamBoundsValues Class|ParamBoundsValues]] &lt;br /&gt;
        ModelBoundsParameters = AModel.Bounds_Parameters&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=CModel.Bounds_FailureRate&amp;diff=46045</id>
		<title>CModel.Bounds FailureRate</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=CModel.Bounds_FailureRate&amp;diff=46045"/>
		<updated>2013-11-15T00:23:55Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|CModel Class|CModel}} &lt;br /&gt;
Returns bounds on the failure rate. Requires the Confidence level to be set. See [[CModel.SetConfindenceLevel|SetConfindenceLevel]].&lt;br /&gt;
&lt;br /&gt;
== Syntax==&lt;br /&gt;
{{APIName|Bounds_FailureRate}}&lt;br /&gt;
{{APIName|(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|Time}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|Optional ByVal}}&lt;br /&gt;
{{APIName|CurrentAge}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|0,}}&lt;br /&gt;
{{APIPrefix|Optional ByVal}}&lt;br /&gt;
{{APIName|DutyCycle}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|1.0)}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[BoundsValues Class|BoundsValues]]}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Returns bounds on failure rate given time.}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;Time&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The time to calculate the failure rate.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CurrentAge&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The current age.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DutyCycle&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The duty cycle.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToRepository(&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the list of Projects in the connected repository.}}&lt;br /&gt;
        Dim ListOfModels() As [[NameIdPair Class|NameIdPair]]&lt;br /&gt;
        ListOfModels = MyRepository.GetAllModelsInfo()&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Select the ID of the model and retrieve it.}}&lt;br /&gt;
        Dim AModel as cModel&lt;br /&gt;
        AModel = MyRepository.GetModel(ListOfModels(0).ID)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the Bounds on the failure rate.}}&lt;br /&gt;
        Dim ModelBoundsValue as BoundsValues&lt;br /&gt;
        ModelBoundsValue = AModel.Bounds_FailureRate(100)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=CModel.Bounds_FailureRate&amp;diff=46044</id>
		<title>CModel.Bounds FailureRate</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=CModel.Bounds_FailureRate&amp;diff=46044"/>
		<updated>2013-11-15T00:23:41Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|CModel Class|CModel}} &lt;br /&gt;
Returns bounds on the failure rate.Requires the Confidence level to be set. See [[CModel.SetConfindenceLevel|SetConfindenceLevel]].&lt;br /&gt;
&lt;br /&gt;
== Syntax==&lt;br /&gt;
{{APIName|Bounds_FailureRate}}&lt;br /&gt;
{{APIName|(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|Time}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|Optional ByVal}}&lt;br /&gt;
{{APIName|CurrentAge}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|0,}}&lt;br /&gt;
{{APIPrefix|Optional ByVal}}&lt;br /&gt;
{{APIName|DutyCycle}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|1.0)}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[BoundsValues Class|BoundsValues]]}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Returns bounds on failure rate given time.}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;Time&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The time to calculate the failure rate.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CurrentAge&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The current age.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DutyCycle&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The duty cycle.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToRepository(&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the list of Projects in the connected repository.}}&lt;br /&gt;
        Dim ListOfModels() As [[NameIdPair Class|NameIdPair]]&lt;br /&gt;
        ListOfModels = MyRepository.GetAllModelsInfo()&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Select the ID of the model and retrieve it.}}&lt;br /&gt;
        Dim AModel as cModel&lt;br /&gt;
        AModel = MyRepository.GetModel(ListOfModels(0).ID)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the Bounds on the failure rate.}}&lt;br /&gt;
        Dim ModelBoundsValue as BoundsValues&lt;br /&gt;
        ModelBoundsValue = AModel.Bounds_FailureRate(100)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=CModel.Bounds_MeanTime&amp;diff=46043</id>
		<title>CModel.Bounds MeanTime</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=CModel.Bounds_MeanTime&amp;diff=46043"/>
		<updated>2013-11-15T00:23:26Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|CModel Class|CModel}} &lt;br /&gt;
Returns the bounds of the mean time best fit. Requires the Confidence level to be set. See [[CModel.SetConfindenceLevel|SetConfindenceLevel]].&lt;br /&gt;
== Syntax==&lt;br /&gt;
{{APIName|Bounds_MeanTime}}&lt;br /&gt;
{{APIName|(}}&lt;br /&gt;
{{APIPrefix|Optional ByVal}}&lt;br /&gt;
{{APIName|CurrentAge}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|0,}}&lt;br /&gt;
{{APIPrefix|Optional ByVal}}&lt;br /&gt;
{{APIName|DutyCycle}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|1.0)}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[BoundsValues Class|BoundsValues]]}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Returns the bounds on mean time}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;CurrentAge&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The current age.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DutyCycle&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The duty cycle.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToRepository(&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the list of Projects in the connected repository.}}&lt;br /&gt;
        Dim ListOfModels() As [[NameIdPair Class|NameIdPair]]&lt;br /&gt;
        ListOfModels = MyRepository.GetAllModelsInfo()&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Select the ID of the model and retrieve it.}}&lt;br /&gt;
        Dim AModel as cModel&lt;br /&gt;
        AModel = MyRepository.GetModel(ListOfModels(0).ID)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the Bounds on the meantime.}}&lt;br /&gt;
        Dim ModelBoundsValue as BoundsValues&lt;br /&gt;
        ModelBoundsValue = AModel.Bounds_MeanTime()&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=CModel.Bounds_Time&amp;diff=46042</id>
		<title>CModel.Bounds Time</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=CModel.Bounds_Time&amp;diff=46042"/>
		<updated>2013-11-15T00:23:03Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|CModel Class|CModel}} &lt;br /&gt;
Returns bounds on the Time. Requires the Confidence level to be set. See [[CModel.SetConfindenceLevel|SetConfindenceLevel]].&lt;br /&gt;
== Syntax==&lt;br /&gt;
{{APIName|Bounds_Time}}&lt;br /&gt;
{{APIName|(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|Rel}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|Optional ByVal}}&lt;br /&gt;
{{APIName|CurrentAge}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|0,}}&lt;br /&gt;
{{APIPrefix|Optional ByVal}}&lt;br /&gt;
{{APIName|DutyCycle}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|1.0)}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[BoundsValues Class|BoundsValues]]}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Returns the bounds on time given reliability.}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;Rel&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The reliability to calculate the time.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;CurrentAge&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The current age.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DutyCycle&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The duty cycle.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToRepository(&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the list of Projects in the connected repository.}}&lt;br /&gt;
        Dim ListOfModels() As [[NameIdPair Class|NameIdPair]]&lt;br /&gt;
        ListOfModels = MyRepository.GetAllModelsInfo()&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Select the ID of the model and retrieve it.}}&lt;br /&gt;
        Dim AModel as cModel&lt;br /&gt;
        AModel = MyRepository.GetModel(ListOfModels(0).ID)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the Bounds on unreliability.}}&lt;br /&gt;
        Dim ModelBoundsValue as BoundsValues&lt;br /&gt;
        ModelBoundsValue = AModel.Bounds_Unreliability(100)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=CModel.Bounds_Unreliability&amp;diff=46041</id>
		<title>CModel.Bounds Unreliability</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=CModel.Bounds_Unreliability&amp;diff=46041"/>
		<updated>2013-11-15T00:22:24Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|CModel Class|CModel}} &lt;br /&gt;
Returns bounds on the unreliability. Requires the Confidence level to be set. See [[CModel.SetConfindenceLevel|SetConfindenceLevel]].&lt;br /&gt;
== Declaration  ==&lt;br /&gt;
{{APIName|Bounds_Unreliability}}&lt;br /&gt;
{{APIName|(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|Time}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|Optional ByVal}}&lt;br /&gt;
{{APIName|StartAge}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|0,}}&lt;br /&gt;
{{APIPrefix|Optional ByVal}}&lt;br /&gt;
{{APIName|DutyCycle}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|1.0)}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[BoundsValues Class|BoundsValues]]}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Returns the bounds on the unreliability given time}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;Time&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The time to calculate the reliability.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;StartAge&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The start age.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DutyCycle&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The duty cycle.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToRepository(&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the list of Projects in the connected repository.}}&lt;br /&gt;
        Dim ListOfModels() As [[NameIdPair Class|NameIdPair]]&lt;br /&gt;
        ListOfModels = MyRepository.GetAllModelsInfo()&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Select the ID of the model and retrieve it.}}&lt;br /&gt;
        Dim AModel as cModel&lt;br /&gt;
        AModel = MyRepository.GetModel(ListOfModels(0).ID)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the Bounds on unreliability.}}&lt;br /&gt;
        Dim ModelBoundsValue as BoundsValues&lt;br /&gt;
        ModelBoundsValue = AModel.Bounds_Unreliability(100)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=CModel.Bounds_Reliability&amp;diff=46040</id>
		<title>CModel.Bounds Reliability</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=CModel.Bounds_Reliability&amp;diff=46040"/>
		<updated>2013-11-15T00:21:55Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|CModel Class|CModel}} &lt;br /&gt;
Returns the bonds on the reliability.  Requires the Confidence level to be set. See [[CModel.SetConfindenceLevel|SetConfindenceLevel]].&lt;br /&gt;
== Syntax==&lt;br /&gt;
&lt;br /&gt;
{{APIName|Bounds_Reliability}}&lt;br /&gt;
{{APIName|(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|Time}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|Optional ByVal}}&lt;br /&gt;
{{APIName|StartAge}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|0,}}&lt;br /&gt;
{{APIPrefix|Optional ByVal}}&lt;br /&gt;
{{APIName|DutyCycle}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|1.0)}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[BoundsValues Class|BoundsValues]]}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Returns the bounds on the reliability given time.}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;Time&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The time to calculate the reliability.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;StartAge&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The start age.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DutyCycle&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The duty cycle.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToRepository(&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the list of Projects in the connected repository.}}&lt;br /&gt;
        Dim ListOfModels() As [[NameIdPair Class|NameIdPair]]&lt;br /&gt;
        ListOfModels = MyRepository.GetAllModelsInfo()&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Select the ID of the model and retrieve it.}}&lt;br /&gt;
        Dim AModel as cModel&lt;br /&gt;
        AModel = MyRepository.GetModel(ListOfModels(0).ID)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the Bounds on reliability.}}&lt;br /&gt;
        Dim ModelBoundsValue as BoundsValues&lt;br /&gt;
        ModelBoundsValue = AModel.Bounds_Reliability(100)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=CModel.Bounds_Reliability&amp;diff=46039</id>
		<title>CModel.Bounds Reliability</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=CModel.Bounds_Reliability&amp;diff=46039"/>
		<updated>2013-11-15T00:21:06Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|CModel Class|CModel}} &lt;br /&gt;
Returns the bonds on the reliability.  Requires the Confidence level to be set. See [[CModel.SetConfidenceLevel|SetConfidenceLevel]].&lt;br /&gt;
== Syntax==&lt;br /&gt;
&lt;br /&gt;
{{APIName|Bounds_Reliability}}&lt;br /&gt;
{{APIName|(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|Time}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|Optional ByVal}}&lt;br /&gt;
{{APIName|StartAge}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|0,}}&lt;br /&gt;
{{APIPrefix|Optional ByVal}}&lt;br /&gt;
{{APIName|DutyCycle}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|1.0)}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[BoundsValues Class|BoundsValues]]}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Returns the bounds on the reliability given time.}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;Time&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The time to calculate the reliability.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;StartAge&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The start age.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DutyCycle&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The duty cycle.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToRepository(&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the list of Projects in the connected repository.}}&lt;br /&gt;
        Dim ListOfModels() As [[NameIdPair Class|NameIdPair]]&lt;br /&gt;
        ListOfModels = MyRepository.GetAllModelsInfo()&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Select the ID of the model and retrieve it.}}&lt;br /&gt;
        Dim AModel as cModel&lt;br /&gt;
        AModel = MyRepository.GetModel(ListOfModels(0).ID)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the Bounds on reliability.}}&lt;br /&gt;
        Dim ModelBoundsValue as BoundsValues&lt;br /&gt;
        ModelBoundsValue = AModel.Bounds_Reliability(100)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=CModel.Bounds_Reliability&amp;diff=46038</id>
		<title>CModel.Bounds Reliability</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=CModel.Bounds_Reliability&amp;diff=46038"/>
		<updated>2013-11-15T00:20:09Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|CModel Class|CModel}} &lt;br /&gt;
Returns the bonds on the reliability.  Requires the Confidence level to be set. See [[cModel.SetConfidenceLevel|SetConfidenceLevel]].&lt;br /&gt;
== Syntax==&lt;br /&gt;
&lt;br /&gt;
{{APIName|Bounds_Reliability}}&lt;br /&gt;
{{APIName|(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|Time}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|Optional ByVal}}&lt;br /&gt;
{{APIName|StartAge}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|0,}}&lt;br /&gt;
{{APIPrefix|Optional ByVal}}&lt;br /&gt;
{{APIName|DutyCycle}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|1.0)}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[BoundsValues Class|BoundsValues]]}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Returns the bounds on the reliability given time.}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;Time&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The time to calculate the reliability.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;StartAge&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The start age.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;DutyCycle&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The duty cycle.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToRepository(&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the list of Projects in the connected repository.}}&lt;br /&gt;
        Dim ListOfModels() As [[NameIdPair Class|NameIdPair]]&lt;br /&gt;
        ListOfModels = MyRepository.GetAllModelsInfo()&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Select the ID of the model and retrieve it.}}&lt;br /&gt;
        Dim AModel as cModel&lt;br /&gt;
        AModel = MyRepository.GetModel(ListOfModels(0).ID)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the Bounds on reliability.}}&lt;br /&gt;
        Dim ModelBoundsValue as BoundsValues&lt;br /&gt;
        ModelBoundsValue = AModel.Bounds_Reliability(100)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=CModel.Bounds_Parameters&amp;diff=45943</id>
		<title>CModel.Bounds Parameters</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=CModel.Bounds_Parameters&amp;diff=45943"/>
		<updated>2013-11-12T17:38:45Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|CModel Class|CModel}} &lt;br /&gt;
Returns bounds on the parameters.&lt;br /&gt;
== Syntax==&lt;br /&gt;
{{APIName|Bounds_Parameters}}&lt;br /&gt;
{{APIName|()}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|List(}}&lt;br /&gt;
{{APIPrefix|Of}}&lt;br /&gt;
{{APIName|[[ParamBoundsValues Class|ParamBoundsValues]])}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Returns an array containing bounds on all model parameters.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToRepository(&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the list of Projects in the connected repository.}}&lt;br /&gt;
        Dim ListOfModels() As [[NameIdPair Class|NameIdPair]]&lt;br /&gt;
        ListOfModels = MyRepository.GetAllModelsInfo()&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Select the ID of the model and retrieve it.}}&lt;br /&gt;
        Dim AModel as cModel&lt;br /&gt;
        AModel = MyRepository.GetModel(ListOfModels(0).ID)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the Bounds parameters.}}&lt;br /&gt;
        Dim ModelBoundsParameters() as [[ParamBoundsValues Class|ParamBoundsValues]] &lt;br /&gt;
        ModelBoundsParameters = AModel.Bounds_Parameters&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=CModel.SetModel&amp;diff=45927</id>
		<title>CModel.SetModel</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=CModel.SetModel&amp;diff=45927"/>
		<updated>2013-10-30T17:49:32Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|CModel Class|CModel}} &lt;br /&gt;
Creates a new model.&lt;br /&gt;
== Method Syntax ==&lt;br /&gt;
{{APIName|SetModel}}&lt;br /&gt;
{{APIPrefix|( ByVal}}&lt;br /&gt;
{{APIName|ModelType}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[ModelTypeEnum]],}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|ModelCategory}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[ModelCategoryEnum]],}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|ModelParams()}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
{{APIName|)}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Sets a new model.}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;ModelType&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The [[ModelTypeEnum]] describing this model.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ModelCategory&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The [[ModelCategoryEnum]] describing this model.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ModelParams&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The array of the models&#039; parameters.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare the cModel class using an in-line parameter list.}}&lt;br /&gt;
        Dim newModel As New cModel(ModelTypeEnum.Weibull2, ModelCategoryEnum.Reliability, &amp;quot;NewModel1&amp;quot;, 1, 100)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Change the model type and parameters.}}&lt;br /&gt;
        newModel.SetModel(ModelTypeEnum.Lognormal, ModelCategoryEnum.Reliability, 200)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=CModel.SetModel&amp;diff=45926</id>
		<title>CModel.SetModel</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=CModel.SetModel&amp;diff=45926"/>
		<updated>2013-10-30T17:48:10Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|CModel Class|CModel}} &lt;br /&gt;
Creates a new model.&lt;br /&gt;
== Method Syntax ==&lt;br /&gt;
{{APIName|SetModel}}&lt;br /&gt;
{{APIPrefix|( ByVal}}&lt;br /&gt;
{{APIName|ModelType}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[ModelTypeEnum]],}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|ModelCategory}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[ModelCategoryEnum]],}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|ModelParams()}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
{{APIName|)}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Sets a new model.}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;ModelType&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The [[ModelTypeEnum]] describing this model.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ModelParams&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The array of the models&#039; parameters.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare the cModel class using an in-line parameter list.}}&lt;br /&gt;
        Dim newModel As New cModel(ModelTypeEnum.Weibull2, ModelCategoryEnum.Reliability, &amp;quot;NewModel1&amp;quot;, 1, 100)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Change the model type and parameters.}}&lt;br /&gt;
        newModel.SetModel(ModelTypeEnum.Lognormal, 2, 200)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repository.DataWarehouse.SaveRawDataSet&amp;diff=45924</id>
		<title>Repository.DataWarehouse.SaveRawDataSet</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repository.DataWarehouse.SaveRawDataSet&amp;diff=45924"/>
		<updated>2013-10-29T23:53:30Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|Repository Class|Repository}}&lt;br /&gt;
Adds a raw data set&lt;br /&gt;
== Method Syntax==&lt;br /&gt;
{{APIName|Public Function &#039;&#039;&#039;SaveRawDataSet&#039;&#039;&#039;(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|DataSet}}&lt;br /&gt;
{{APIName|As [[RawDataSet Class|RawDataSet]])}}&lt;br /&gt;
{{APIPrefix|As Boolean}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Saves the raw data set in the repository.}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;DataSet&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The raw data object.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Code Block}}&lt;br /&gt;
&lt;br /&gt;
 &#039;{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
 {{APIPrefix|Private WithEvents MyRepository As [[New Repository]]}}&lt;br /&gt;
 &#039;{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
 {{APIPrefix|Dim}}Success{{APIPrefix|As Boolean}}={{APIPrefix|False}}&lt;br /&gt;
  Success = MyRepository.[[Repository.ConnectToRepository|ConnectToRepository]](&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
 &#039;{{APIComment|Declare and populate a [[RawData Class|RawData]] object and a [[RawDataSet Class|RawDataSet]]. In this example, the first Incident information is used.}}&lt;br /&gt;
 {{APIPrefix|Dim}}RD{{APIPrefix|As New}} [[RawData Class|RawData]]&lt;br /&gt;
 &#039;{{APIComment|(Populate relevant RawData variables in RD.)}}&lt;br /&gt;
 {{APIPrefix|Dim}}RDSet{{APIPrefix|As New [[RawDataSet Class|RawDataSet]]}}&lt;br /&gt;
  RDSet.AddDataRow(RD)&lt;br /&gt;
 &#039;{{APIComment|Save the raw data to the Synthesis repository.}}&lt;br /&gt;
 {{APIPrefix|Dim}}SuccessSaveRawData{{APIPrefix|As Boolean}}&lt;br /&gt;
  SuccessSaveRawData = MyRepository.[[Repository.SaveRawDataSet|SaveRawDataSet]](RDSet)&lt;br /&gt;
&lt;br /&gt;
=== Reformatted Usage Example===&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As [[New Repository]]&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.[[Repository.ConnectToRepository|ConnectToRepository]](&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Declare and populate a [[RawData Class|RawData]] object and a [[RawDataSet Class|RawDataSet]].  In this example, the first Incident information is used.}}&lt;br /&gt;
        Dim RD As New [[RawData Class|RawData]]&lt;br /&gt;
        ({{APIComment|Populate relevant RawData variables in RD. }})&lt;br /&gt;
        Dim RDSet As New [[RawDataSet Class|RawDataSet]]&lt;br /&gt;
        RDSet.AddDataRow(RD)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Save the raw data to the Synthesis repository.}}&lt;br /&gt;
        Dim SuccessSaveRawData As Boolean&lt;br /&gt;
        SuccessSaveRawData = MyRepository.[[Repository.SaveRawDataSet|SaveRawDataSet]](RDSet)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repository.BlockSim.ImportBlockSimXMLFile&amp;diff=45923</id>
		<title>Repository.BlockSim.ImportBlockSimXMLFile</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repository.BlockSim.ImportBlockSimXMLFile&amp;diff=45923"/>
		<updated>2013-10-29T23:52:32Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|Repository Class|Repository}}&lt;br /&gt;
Imports from XML file&lt;br /&gt;
== Method Syntax  ==&lt;br /&gt;
{{APIName|Public Function &#039;&#039;&#039;ImportBlockSimXMLFile&#039;&#039;&#039;(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|XMLFile}}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|)}}&lt;br /&gt;
{{APIPrefix|As Boolean}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Imports from XML file to the current project.}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;XMLFile&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The path for the XML file to import.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Code Block}}&lt;br /&gt;
 &#039;{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
 {{APIPrefix|Private WithEvents MyRepository As [[New Repository]]}}&lt;br /&gt;
 &#039;{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
 {{APIPrefix|Dim}}Success{{APIPrefix|As Boolean}}={{APIPrefix|False}}&lt;br /&gt;
  Success = MyRepository.[[Repository.ConnectToSQLRepository|ConnectToSQLRepository]](&amp;quot;SQLServerPath&amp;quot;, &amp;quot;SQLDatabaseName&amp;quot;)&lt;br /&gt;
 &#039;{{APIComment|Import the XML File to the Synthesis repository.}}&lt;br /&gt;
 {{APIPrefix|Dim}}SuccessImportXML{{APIPrefix|As Boolean}}&lt;br /&gt;
  SuccessImportXML = MyRepository.[[Repository.ImportXFRACASXMLFile|ImportXFRACASXMLFile]](&amp;quot;XMLFilePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
===Reformatted Usage Example===&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As [[New Repository]]&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.[[Repository.ConnectToSQLRepository|ConnectToSQLRepository]](&amp;quot;SQLServerPath&amp;quot;, &amp;quot;SQLDatabaseName&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Import the XML File to the Synthesis repository.}}&lt;br /&gt;
        Dim SuccessImportXML As Boolean&lt;br /&gt;
        SuccessImportXML = MyRepository.[[Repository.ImportXFRACASXMLFile|ImportXFRACASXMLFile]](&amp;quot;XMLFilePath&amp;quot;)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repository&amp;diff=45922</id>
		<title>Repository</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repository&amp;diff=45922"/>
		<updated>2013-10-29T23:39:53Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: Redirected page to Repository Class&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Repository Class]]&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repository&amp;diff=45921</id>
		<title>Repository</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repository&amp;diff=45921"/>
		<updated>2013-10-29T23:39:18Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Redirect:Repository Class]]&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repository&amp;diff=45920</id>
		<title>Repository</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repository&amp;diff=45920"/>
		<updated>2013-10-29T23:39:08Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Redirect:Repository Class}}&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Template:API&amp;diff=45919</id>
		<title>Template:API</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Template:API&amp;diff=45919"/>
		<updated>2013-10-29T23:35:18Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;noprint&amp;quot;&amp;gt;&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; align=&amp;quot;right&amp;quot; class=&amp;quot;FCK__ShowTableBorders&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;10&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot; rowspan=&amp;quot;2&amp;quot; | &amp;lt;br&amp;gt; &lt;br /&gt;
| align=&amp;quot;center&amp;quot; valign=&amp;quot;middle&amp;quot; style=&amp;quot;border: 1px solid rgb(0, 0, 0); color: rgb(0, 0, 0); background-color:rgb(255, 255, 255;&amp;quot; | &lt;br /&gt;
[[Image:Thesynthesisplatform.png|150px]]&lt;br /&gt;
&lt;br /&gt;
{{Font|{{{1}}}|16|tahoma|bold|gray}} &lt;br /&gt;
&lt;br /&gt;
{{font|[[Synthesis API Reference|Index]]|12|bold|gray}} &lt;br /&gt;
&lt;br /&gt;
{{Font|{{PAGENAME}}|12|tahoma|normal|black}} &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt; &lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Template:APIClass&amp;diff=45918</id>
		<title>Template:APIClass</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Template:APIClass&amp;diff=45918"/>
		<updated>2013-10-29T23:34:47Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;br&amp;gt; &lt;br /&gt;
&amp;lt;div class=&amp;quot;noprint&amp;quot;&amp;gt;&lt;br /&gt;
{| width=&amp;quot;150&amp;quot; align=&amp;quot;right&amp;quot; class=&amp;quot;FCK__ShowTableBorders&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;10&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot; rowspan=&amp;quot;2&amp;quot; | &amp;lt;br&amp;gt; &lt;br /&gt;
| align=&amp;quot;center&amp;quot; valign=&amp;quot;middle&amp;quot; style=&amp;quot;border: 1px solid rgb(0, 0, 0); color: rgb(0, 0, 0); background-color:rgb(255, 255, 255;&amp;quot; | &lt;br /&gt;
{{font|[[Synthesis API Reference|APIs]]|12|bold|gray}} &lt;br /&gt;
[[{{{1}}}|{{{2}}}]] &lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt; &lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Template:API&amp;diff=45917</id>
		<title>Template:API</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Template:API&amp;diff=45917"/>
		<updated>2013-10-29T23:33:48Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;noprint&amp;quot;&amp;gt;&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; align=&amp;quot;right&amp;quot; class=&amp;quot;FCK__ShowTableBorders&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;10&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot; rowspan=&amp;quot;2&amp;quot; | &amp;lt;br&amp;gt; &lt;br /&gt;
| align=&amp;quot;center&amp;quot; valign=&amp;quot;middle&amp;quot; style=&amp;quot;border: 1px solid rgb(0, 0, 0); color: rgb(0, 0, 0); background-color:rgb(255, 255, 255;&amp;quot; | &lt;br /&gt;
[[Image:Thesynthesisplatform.png|150px]]&lt;br /&gt;
&lt;br /&gt;
{{Font|{{{1}}}|16|tahoma|bold|gray}} &lt;br /&gt;
&lt;br /&gt;
{{font|[[Synthesis API Reference|Index]]|12|bold|gray}} &lt;br /&gt;
&lt;br /&gt;
{{Font|{{PAGENAME}}|12|tahoma|normal|black}} &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Templates]]&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Template:API&amp;diff=45916</id>
		<title>Template:API</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Template:API&amp;diff=45916"/>
		<updated>2013-10-29T23:32:06Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;noprint&amp;quot;&amp;gt;&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; align=&amp;quot;right&amp;quot; class=&amp;quot;FCK__ShowTableBorders&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;10&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot; rowspan=&amp;quot;2&amp;quot; | &amp;lt;br&amp;gt; &lt;br /&gt;
| align=&amp;quot;center&amp;quot; valign=&amp;quot;middle&amp;quot; style=&amp;quot;border: 1px solid rgb(0, 0, 0); color: rgb(0, 0, 0); background-color:rgb(255, 255, 255;&amp;quot; | &lt;br /&gt;
[[Image:Thesynthesisplatform.png|150px]]&lt;br /&gt;
&lt;br /&gt;
{{Font|{{{1}}}|16|tahoma|bold|gray}} &lt;br /&gt;
&lt;br /&gt;
{{font|[[Synthesis API Reference|Index]]|12|bold|gray}} &lt;br /&gt;
&lt;br /&gt;
{{Font|{{PAGENAME}}|12|tahoma|normal|black}} &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Templates]] [[Category:Synthesis API]]&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Template:API&amp;diff=45915</id>
		<title>Template:API</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Template:API&amp;diff=45915"/>
		<updated>2013-10-29T23:31:34Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;noprint&amp;quot;&amp;gt;&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; align=&amp;quot;right&amp;quot; class=&amp;quot;FCK__ShowTableBorders&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;10&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot; rowspan=&amp;quot;2&amp;quot; | &amp;lt;br&amp;gt; &lt;br /&gt;
| align=&amp;quot;center&amp;quot; valign=&amp;quot;middle&amp;quot; style=&amp;quot;border: 1px solid rgb(0, 0, 0); color: rgb(0, 0, 0); background-color:rgb(255, 255, 255;&amp;quot; | &lt;br /&gt;
[[Image:Thesynthesisplatform.png|150px]]&lt;br /&gt;
&lt;br /&gt;
{{Font|{{{1}}}|16|tahoma|bold|gray}} &lt;br /&gt;
&lt;br /&gt;
{{font|[[Synthesis API Reference|Index]]|12|bold|gray}} &lt;br /&gt;
&lt;br /&gt;
{{Font|{{PAGENAME}}|12|tahoma|normal|black}} &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Templates]] [[Category:Synthesis API Reference]]&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Template:API&amp;diff=45914</id>
		<title>Template:API</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Template:API&amp;diff=45914"/>
		<updated>2013-10-29T23:31:21Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;noprint&amp;quot;&amp;gt;&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; align=&amp;quot;right&amp;quot; class=&amp;quot;FCK__ShowTableBorders&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;10&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot; rowspan=&amp;quot;2&amp;quot; | &amp;lt;br&amp;gt; &lt;br /&gt;
| align=&amp;quot;center&amp;quot; valign=&amp;quot;middle&amp;quot; style=&amp;quot;border: 1px solid rgb(0, 0, 0); color: rgb(0, 0, 0); background-color:rgb(255, 255, 255;&amp;quot; | &lt;br /&gt;
[[Image:Thesynthesisplatform.png|150px]]&lt;br /&gt;
&lt;br /&gt;
{{Font|{{{1}}}|16|tahoma|bold|gray}} &lt;br /&gt;
&lt;br /&gt;
{{font|[[Synthesis API Reference|Index]]|12|bold|gray}} &lt;br /&gt;
&lt;br /&gt;
{{Font|{{PAGENAME}}|12|tahoma|normal|black}} &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Templates]] [[Synthesis API Reference]]&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Template:API&amp;diff=45913</id>
		<title>Template:API</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Template:API&amp;diff=45913"/>
		<updated>2013-10-29T23:31:05Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;noprint&amp;quot;&amp;gt;&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; align=&amp;quot;right&amp;quot; class=&amp;quot;FCK__ShowTableBorders&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;10&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot; rowspan=&amp;quot;2&amp;quot; | &amp;lt;br&amp;gt; &lt;br /&gt;
| align=&amp;quot;center&amp;quot; valign=&amp;quot;middle&amp;quot; style=&amp;quot;border: 1px solid rgb(0, 0, 0); color: rgb(0, 0, 0); background-color:rgb(255, 255, 255;&amp;quot; | &lt;br /&gt;
[[Image:Thesynthesisplatform.png|150px]]&lt;br /&gt;
&lt;br /&gt;
{{Font|{{{1}}}|16|tahoma|bold|gray}} &lt;br /&gt;
&lt;br /&gt;
{{font|[[Synthesis API Reference|Index]]|12|bold|gray}} &lt;br /&gt;
&lt;br /&gt;
{{Font|{{PAGENAME}}|12|tahoma|normal|black}} &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Templates]] [[Template:Synthesis_API_Reference]]&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Template:API&amp;diff=45912</id>
		<title>Template:API</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Template:API&amp;diff=45912"/>
		<updated>2013-10-29T23:30:55Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;noprint&amp;quot;&amp;gt;&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; align=&amp;quot;right&amp;quot; class=&amp;quot;FCK__ShowTableBorders&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;10&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot; rowspan=&amp;quot;2&amp;quot; | &amp;lt;br&amp;gt; &lt;br /&gt;
| align=&amp;quot;center&amp;quot; valign=&amp;quot;middle&amp;quot; style=&amp;quot;border: 1px solid rgb(0, 0, 0); color: rgb(0, 0, 0); background-color:rgb(255, 255, 255;&amp;quot; | &lt;br /&gt;
[[Image:Thesynthesisplatform.png|150px]]&lt;br /&gt;
&lt;br /&gt;
{{Font|{{{1}}}|16|tahoma|bold|gray}} &lt;br /&gt;
&lt;br /&gt;
{{font|[[Synthesis API Reference|Index]]|12|bold|gray}} &lt;br /&gt;
&lt;br /&gt;
{{Font|{{PAGENAME}}|12|tahoma|normal|black}} &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Templates]] [[Synthesis_API_Reference]]&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Template:API&amp;diff=45911</id>
		<title>Template:API</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Template:API&amp;diff=45911"/>
		<updated>2013-10-29T23:30:40Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;noprint&amp;quot;&amp;gt;&lt;br /&gt;
{| width=&amp;quot;200&amp;quot; align=&amp;quot;right&amp;quot; class=&amp;quot;FCK__ShowTableBorders&amp;quot; border=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;10&amp;quot; bgcolor=&amp;quot;#ffffff&amp;quot; rowspan=&amp;quot;2&amp;quot; | &amp;lt;br&amp;gt; &lt;br /&gt;
| align=&amp;quot;center&amp;quot; valign=&amp;quot;middle&amp;quot; style=&amp;quot;border: 1px solid rgb(0, 0, 0); color: rgb(0, 0, 0); background-color:rgb(255, 255, 255;&amp;quot; | &lt;br /&gt;
[[Image:Thesynthesisplatform.png|150px]]&lt;br /&gt;
&lt;br /&gt;
{{Font|{{{1}}}|16|tahoma|bold|gray}} &lt;br /&gt;
&lt;br /&gt;
{{font|[[Synthesis API Reference|Index]]|12|bold|gray}} &lt;br /&gt;
&lt;br /&gt;
{{Font|{{PAGENAME}}|12|tahoma|normal|black}} &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
[[Category:Templates]] [[Category:Synthesis_API_Reference]]&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repository.Model.GetModel&amp;diff=45909</id>
		<title>Repository.Model.GetModel</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repository.Model.GetModel&amp;diff=45909"/>
		<updated>2013-10-29T20:58:18Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|Repository Class|Repository}}&lt;br /&gt;
Gets a Model from the connected repository.&lt;br /&gt;
&lt;br /&gt;
== Method Syntax==&lt;br /&gt;
{{APIName|&#039;&#039;&#039;GetModel&#039;&#039;&#039;(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|ID}}&lt;br /&gt;
{{APIPrefix|As Integer}}&lt;br /&gt;
{{APIName|)}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[cModel Class|cModel]]}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Returns the model from the current project with the specified ID. Returns nothing if the model does not exist or is not in the current project.}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;ID&#039;&#039;&#039;&lt;br /&gt;
The ID of the model to retrieve.&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToRepository(&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the list of Models in the connected repository.}}&lt;br /&gt;
        Dim ListOfModels() As [[NameIdPair Class|NameIdPair]]&lt;br /&gt;
        ListOfModels = MyRepository.GetAllModelsInfo()&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Select the ID of the model and retrieve it.  In this example, the first model is used.}}&lt;br /&gt;
        Dim AModel as cModel&lt;br /&gt;
        AModel = MyRepository.GetModel(ListOfModels(0).ID)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repository.DataWarehouse.SaveRawDataSet&amp;diff=45864</id>
		<title>Repository.DataWarehouse.SaveRawDataSet</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repository.DataWarehouse.SaveRawDataSet&amp;diff=45864"/>
		<updated>2013-10-24T21:32:32Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|Repository Class|Repository}}&lt;br /&gt;
Adds a raw data set&lt;br /&gt;
== Method Syntax==&lt;br /&gt;
{{APIName|Public Function &#039;&#039;&#039;SaveRawDataSet&#039;&#039;&#039;(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|DataSet}}&lt;br /&gt;
{{APIName|As [[RawDataSet Class|RawDataSet]])}}&lt;br /&gt;
{{APIPrefix|As Boolean}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Saves the raw data set in the repository.}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;DataSet&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The raw data object.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Code Block}}&lt;br /&gt;
&lt;br /&gt;
 &#039;{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
 {{APIPrefix|Private WithEvents MyRepository As [[New Repository]]}}&lt;br /&gt;
 &#039;{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
 {{APIPrefix|Dim}} Success {{APIPrefix|As Boolean}} = {{APIPrefix|False}}&lt;br /&gt;
  Success = MyRepository.[[Repository.ConnectToRepository|ConnectToRepository]](&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
 &#039;{{APIComment|Declare and populate a [[RawData Class|RawData]] object and a [[RawDataSet Class|RawDataSet]]. In this example, the first Incident information is used.}}&lt;br /&gt;
 {{APIPrefix|Dim}} RD {{APIPrefix|As New}} [[RawData Class|RawData]]&lt;br /&gt;
 &#039;{{APIComment|(Populate relevant RawData variables in RD.)}}&lt;br /&gt;
 {{APIPrefix|Dim}} RDSet {{APIPrefix|As New [[RawDataSet Class|RawDataSet]]}}&lt;br /&gt;
  RDSet.AddDataRow(RD)&lt;br /&gt;
 &#039;{{APIComment|Save the raw data to the Synthesis repository.}}&lt;br /&gt;
 {{APIPrefix|Dim}} SuccessSaveRawData {{APIPrefix|As Boolean}}&lt;br /&gt;
  SuccessSaveRawData = MyRepository.[[Repository.SaveRawDataSet|SaveRawDataSet]](RDSet)&lt;br /&gt;
&lt;br /&gt;
=== Reformatted Usage Example===&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As [[New Repository]]&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.[[Repository.ConnectToRepository|ConnectToRepository]](&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Declare and populate a [[RawData Class|RawData]] object and a [[RawDataSet Class|RawDataSet]].  In this example, the first Incident information is used.}}&lt;br /&gt;
        Dim RD As New [[RawData Class|RawData]]&lt;br /&gt;
        ({{APIComment|Populate relevant RawData variables in RD. }})&lt;br /&gt;
        Dim RDSet As New [[RawDataSet Class|RawDataSet]]&lt;br /&gt;
        RDSet.AddDataRow(RD)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Save the raw data to the Synthesis repository.}}&lt;br /&gt;
        Dim SuccessSaveRawData As Boolean&lt;br /&gt;
        SuccessSaveRawData = MyRepository.[[Repository.SaveRawDataSet|SaveRawDataSet]](RDSet)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repository.BlockSim.ImportBlockSimXMLFile&amp;diff=45863</id>
		<title>Repository.BlockSim.ImportBlockSimXMLFile</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repository.BlockSim.ImportBlockSimXMLFile&amp;diff=45863"/>
		<updated>2013-10-24T21:31:55Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|Repository Class|Repository}}&lt;br /&gt;
Imports from XML file&lt;br /&gt;
== Method Syntax  ==&lt;br /&gt;
{{APIName|Public Function &#039;&#039;&#039;ImportBlockSimXMLFile&#039;&#039;&#039;(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|XMLFile}}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|)}}&lt;br /&gt;
{{APIPrefix|As Boolean}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Imports from XML file to the current project.}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;XMLFile&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The path for the XML file to import.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Code Block}}&lt;br /&gt;
 &#039;{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
 {{APIPrefix|Private WithEvents MyRepository As [[New Repository]]}}&lt;br /&gt;
 &#039;{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
 {{APIPrefix|Dim}}Success{{APIPrefix|As Boolean}}={{APIPrefix|False}}&lt;br /&gt;
  Success = MyRepository.[[Repository.ConnectToSQLRepository|ConnectToSQLRepository]](&amp;quot;SQLServerPath&amp;quot;, &amp;quot;SQLDatabaseName&amp;quot;)&lt;br /&gt;
 &#039;{{APIComment|Import the XML File to the Synthesis repository.}}&lt;br /&gt;
 {{APIPrefix|Dim}} SuccessImportXML {{APIPrefix|As Boolean}}&lt;br /&gt;
  SuccessImportXML = MyRepository.[[Repository.ImportXFRACASXMLFile|ImportXFRACASXMLFile]](&amp;quot;XMLFilePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
===Reformatted Usage Example===&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As [[New Repository]]&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.[[Repository.ConnectToSQLRepository|ConnectToSQLRepository]](&amp;quot;SQLServerPath&amp;quot;, &amp;quot;SQLDatabaseName&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Import the XML File to the Synthesis repository.}}&lt;br /&gt;
        Dim SuccessImportXML As Boolean&lt;br /&gt;
        SuccessImportXML = MyRepository.[[Repository.ImportXFRACASXMLFile|ImportXFRACASXMLFile]](&amp;quot;XMLFilePath&amp;quot;)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=ALTADataSet.AddStressDefinition&amp;diff=45649</id>
		<title>ALTADataSet.AddStressDefinition</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=ALTADataSet.AddStressDefinition&amp;diff=45649"/>
		<updated>2013-10-21T23:27:11Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|ALTADataSet Class|ALTADataSet}}&lt;br /&gt;
&lt;br /&gt;
Sets a new stress definition(column) to be used. &lt;br /&gt;
&lt;br /&gt;
== Method Syntax ==&lt;br /&gt;
{{APIName|&#039;&#039;&#039;AddStressDefinition&#039;&#039;&#039;(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|Name}}&lt;br /&gt;
{{APIPrefix|As String, Optional ByVal}}&lt;br /&gt;
{{APIName|StressRelation}}&lt;br /&gt;
{{APIPrefix|As [[ALTASolverLSR]]}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|[[ALTASolverLSR]].Exponential,}}&lt;br /&gt;
{{APIPrefix|Optional ByVal}}&lt;br /&gt;
{{APIName|UseStress}}&lt;br /&gt;
{{APIPrefix|As Double}}&lt;br /&gt;
=&lt;br /&gt;
{{APIName|1)}} &amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Adds a stress definition (column). The number of stresses in subsequent calls to AddFailure, AddSuspension etc. must be equal to the number of stress definitions in the data set.}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;Name&#039;&#039;&#039;&lt;br /&gt;
The name of the new stress definition&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;StressRelation&#039;&#039;&#039;&lt;br /&gt;
The relation to set the new stress definition&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;UseStress&#039;&#039;&#039;&lt;br /&gt;
The Use stress level&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Declare the ALTADataSet. See [[New ALTADataSet]] for additional details.}}&lt;br /&gt;
        Dim ALTADS as New ALTADataSet&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Add a new stress definition.}}&lt;br /&gt;
        &#039;&#039;&#039;ALTADS.AddStressDefinition(&amp;quot;NewStress1&amp;quot;)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Declare an [[ALTAStressProfile Class|ALTAStressProfile]]. See [[ALTAStressProfile Class|ALTAStressProfile]] for additional details.}}&lt;br /&gt;
        Dim sp = New ALTAStressProfile(&amp;quot;Profile1&amp;quot;)&lt;br /&gt;
        sp.RepeatCycle = True&lt;br /&gt;
        sp.AddSegment(1, 250)&lt;br /&gt;
        sp.AddSegment(2, 300)&lt;br /&gt;
        sp.AddSegment(3, 400)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Add the stress profile}}&lt;br /&gt;
        ALTADS.AddStressProfile(sp)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Add values to the raw data. See [[ALTADataSet.AddFailure|AddFailure]] for additional details.  Because one definition was added, only one stress is needed.}}&lt;br /&gt;
        ALTADS.AddFailure(1, 1, sp)&lt;br /&gt;
        ALTADS.AddFailure(2, 1, sp)&lt;br /&gt;
        ALTADS.AddFailure(3, 1, sp)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=ALTADataSet.AddStressProfile&amp;diff=45648</id>
		<title>ALTADataSet.AddStressProfile</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=ALTADataSet.AddStressProfile&amp;diff=45648"/>
		<updated>2013-10-21T22:31:00Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|ALTADataSet Class|ALTADataSet}}&lt;br /&gt;
Add a stress profile into the ALTADataSet&lt;br /&gt;
== Method Syntax ==&lt;br /&gt;
{{APIName|&#039;&#039;&#039;AddStressProfile&#039;&#039;&#039;(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|profile}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[ALTAStressProfile Class|ALTAStressProfile]]}}&lt;br /&gt;
{{APIName|)}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Adds a stress profile to the data set. It then can be used as a stress for Cumulative Damage model.}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;Profile&#039;&#039;&#039;&lt;br /&gt;
An defined profile of the [[ALTAStressProfile Class|ALTAStressProfile]] Class.&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare the ALTADataSet. See [[New ALTADataSet]] for additional details.}}&lt;br /&gt;
        Dim ALTADS as New ALTADataSet&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Declare an [[ALTAStressProfile Class|ALTAStressProfile]]. See [[ALTAStressProfile Class|ALTAStressProfile]] for additional details.}}&lt;br /&gt;
        Dim sp = New ALTAStressProfile(&amp;quot;Profile1&amp;quot;)&lt;br /&gt;
        sp.RepeatCycle = True&lt;br /&gt;
        sp.AddSegment(1, 250)&lt;br /&gt;
        sp.AddSegment(2, 300)&lt;br /&gt;
        sp.AddSegment(3, 400)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Add the stress profile.}}&lt;br /&gt;
        &#039;&#039;&#039;ALTADS.AddStressProfile(sp)&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Template:ALTASegment.Stress&amp;diff=45645</id>
		<title>Template:ALTASegment.Stress</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Template:ALTASegment.Stress&amp;diff=45645"/>
		<updated>2013-10-21T18:28:42Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: Created page with &amp;#039;{{APIPrefix|Public}}{{APIName|Stress}}{{APIPrefix|As Double}}&amp;lt;br&amp;gt; {{APIComment|The stress of the segment.}}&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{APIPrefix|Public}}{{APIName|[[ALTASegment.Stress|Stress]]}}{{APIPrefix|As Double}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|The stress of the segment.}}&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Template:ALTASegment.SegmentEnd&amp;diff=45641</id>
		<title>Template:ALTASegment.SegmentEnd</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Template:ALTASegment.SegmentEnd&amp;diff=45641"/>
		<updated>2013-10-21T18:08:02Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: Created page with &amp;#039;{{APIPrefix|Public}}{{APIName|SegmentEnd}}{{APIPrefix|As Double}}&amp;lt;br&amp;gt; {{APIComment|End of the stress segment.}}&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{APIPrefix|Public}}{{APIName|[[ALTASegment.SegmentEnd|SegmentEnd]]}}{{APIPrefix|As Double}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|End of the stress segment.}}&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Template:ALTASegment.SegmentStart&amp;diff=45638</id>
		<title>Template:ALTASegment.SegmentStart</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Template:ALTASegment.SegmentStart&amp;diff=45638"/>
		<updated>2013-10-21T17:39:46Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: Created page with &amp;#039;{{APIPrefix|Public}}{{APIName|SegmentStart}}{{APIPrefix|As Double}}&amp;lt;br&amp;gt; {{APIComment|Start of the stress segment.}}&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{APIPrefix|Public}}{{APIName|[[ALTASegment.SegmentStart|SegmentStart]]}}{{APIPrefix|As Double}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Start of the stress segment.}}&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=ALTASegment_Class&amp;diff=45637</id>
		<title>ALTASegment Class</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=ALTASegment_Class&amp;diff=45637"/>
		<updated>2013-10-21T17:38:49Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: Created page with &amp;#039;{{Template:APIClass|Global_ALTA|Global_ALTA}}  This class describes an ALTA Stress Segment.  == Properties ==  {{Template:ALTASegment.SegmentStart}}  {{Template:ALTASegment.Segme…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|Global_ALTA|Global_ALTA}}&lt;br /&gt;
&lt;br /&gt;
This class describes an ALTA Stress Segment.&lt;br /&gt;
&lt;br /&gt;
== Properties ==&lt;br /&gt;
&lt;br /&gt;
{{Template:ALTASegment.SegmentStart}}&lt;br /&gt;
&lt;br /&gt;
{{Template:ALTASegment.SegmentEnd}}&lt;br /&gt;
&lt;br /&gt;
{{Template:ALTASegment.Stress}}&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=ALTAStressProfile.GetSegments&amp;diff=45636</id>
		<title>ALTAStressProfile.GetSegments</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=ALTAStressProfile.GetSegments&amp;diff=45636"/>
		<updated>2013-10-21T17:36:36Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|ALTAStressProfile Class|ALTAStressProfile}}&lt;br /&gt;
&lt;br /&gt;
Returns an array of the stress profile segments&lt;br /&gt;
&lt;br /&gt;
== Method Syntax ==&lt;br /&gt;
{{APIPrefix|Public Function}}{{APIName|GetSegments()}}&lt;br /&gt;
{{APIComment|Returns an array of the stress profile segments.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Declare an [[ALTAStressProfile Class|ALTAStressProfile]]. See [[ALTAStressProfile Class|ALTAStressProfile]] for additional details.}}&lt;br /&gt;
        Dim SP As New ALTAStressProfile(&amp;quot;Profile1&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Add segments.}}&lt;br /&gt;
        SP.AddSegment(1, 250)&lt;br /&gt;
        SP.AddSegment(2, 300)&lt;br /&gt;
        SP.AddSegment(3, 400)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get segments.}}&lt;br /&gt;
        Dim StressSegments() As [[ALTASegment Class|ALTASegment]]&lt;br /&gt;
        StressSegments = SP.GetSegments&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=ALTAStressProfile.GetSegments&amp;diff=45635</id>
		<title>ALTAStressProfile.GetSegments</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=ALTAStressProfile.GetSegments&amp;diff=45635"/>
		<updated>2013-10-21T17:36:01Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: Created page with &amp;#039;{{Template:APIClass|ALTAStressProfile Class|ALTAStressProfile}}  Returns an array of the stress profile segments  == Method Syntax == {{APIPrefix|Public Function}}{{APIName|GetSe…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|ALTAStressProfile Class|ALTAStressProfile}}&lt;br /&gt;
&lt;br /&gt;
Returns an array of the stress profile segments&lt;br /&gt;
&lt;br /&gt;
== Method Syntax ==&lt;br /&gt;
{{APIPrefix|Public Function}}{{APIName|GetSegments()}}&lt;br /&gt;
{{APIComment|Returns an array of the stress profile segments.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Declare an [[ALTAStressProfile Class|ALTAStressProfile]]. See [[ALTAStressProfile Class|ALTAStressProfile]] for additional details.}}&lt;br /&gt;
        Dim SP As New ALTAStressProfile(&amp;quot;Profile1&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Add segments.}}&lt;br /&gt;
        SP.AddSegment(1, 250)&lt;br /&gt;
        SP.AddSegment(2, 300)&lt;br /&gt;
        SP.AddSegment(3, 400)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get segments.}}&lt;br /&gt;
        Dim StressSegments() As ALTASegment&lt;br /&gt;
        StressSegments = SP.GetSegments&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=ALTAStressProfile_Class&amp;diff=45633</id>
		<title>ALTAStressProfile Class</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=ALTAStressProfile_Class&amp;diff=45633"/>
		<updated>2013-10-21T17:27:27Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|Global_ALTA|Global_ALTA}} &lt;br /&gt;
Instantiate this class to be able to use stress profiles with Cumulative Damage model.&lt;br /&gt;
&lt;br /&gt;
==Constructors==&lt;br /&gt;
*&#039;&#039;&#039;[[New ALTAStressProfile]]&#039;&#039;&#039; {{APIComment|Creates a new stress profile.}}&lt;br /&gt;
&lt;br /&gt;
== Properties ==&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;[[ALTAStressProfile.Name|Name]]&#039;&#039;&#039; {{APIComment|Returns the name of the stress profile.}}&lt;br /&gt;
*&#039;&#039;&#039;[[ALTAStressProfile.RepeatCycle|RepeatCycle]]&#039;&#039;&#039; {{APIComment|If set to true, cycles the segments. Otherwise continues from the last stress.}}&lt;br /&gt;
&lt;br /&gt;
== Methods==&lt;br /&gt;
*&#039;&#039;&#039;[[ALTAStressProfile.AddSegment|AddSegment]]&#039;&#039;&#039; {{APIComment|Adds a new segment to the stress profile.}}&lt;br /&gt;
*&#039;&#039;&#039;[[ALTAStressProfile.GetSegments|GetSegments]]&#039;&#039;&#039; {{APIComment|Retrieves an array listing of the stress segments.}}&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Template:ALTADataSet.GeneralSettings&amp;diff=45558</id>
		<title>Template:ALTADataSet.GeneralSettings</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Template:ALTADataSet.GeneralSettings&amp;diff=45558"/>
		<updated>2013-10-17T22:54:49Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{APIPrefix|Public ReadOnly Property}}&lt;br /&gt;
{{APIName|GeneralSettings}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[ALTAGeneralOptions Class|ALTAGeneralOptions]]}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|General settings used when fitting the model or finding the best fit.}}&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Template:ALTADataSet.GeneralSettings&amp;diff=45557</id>
		<title>Template:ALTADataSet.GeneralSettings</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Template:ALTADataSet.GeneralSettings&amp;diff=45557"/>
		<updated>2013-10-17T22:53:27Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{APIPrefix|Public ReadOnly Property}}&lt;br /&gt;
{{APIName|GeneralSettings}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[ALTAGeneralOptions]]}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|General settings used when fitting the model or finding the best fit.}}&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Template:ALTADataSet.GeneralSettings&amp;diff=45556</id>
		<title>Template:ALTADataSet.GeneralSettings</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Template:ALTADataSet.GeneralSettings&amp;diff=45556"/>
		<updated>2013-10-17T22:53:09Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{APIPrefix|Public ReadOnly Property}}&lt;br /&gt;
{{APIName|GeneralSettings}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[ALTADataSet.ALTAGeneralOptions|ALTAGeneralOptions]]}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|General settings used when fitting the model or finding the best fit.}}&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repository.XFRACAS.ImportXFRACASXMLString&amp;diff=45539</id>
		<title>Repository.XFRACAS.ImportXFRACASXMLString</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repository.XFRACAS.ImportXFRACASXMLString&amp;diff=45539"/>
		<updated>2013-10-17T20:49:57Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|Repository Class|Repository}}&lt;br /&gt;
Uploads an import file bytestream for processing and returns the system ID&lt;br /&gt;
== Method Syntax ==&lt;br /&gt;
{{APIName|Public Function &#039;&#039;&#039;ImportXFRACASXMLString&#039;&#039;&#039;(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|entityID }}&lt;br /&gt;
{{APIPrefix|As Integer}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|ImportType}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[XFRACASImportType]],}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|xmlString }}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByVal }}&lt;br /&gt;
{{APIName|fileTitle }}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByVal }}&lt;br /&gt;
{{APIName|fileDescription }}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|)}}&lt;br /&gt;
{{APIPrefix|As Integer}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Uploads an import file bytestream for processing and returns the system ID of the uploaded}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;entityID&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The ID of the entity to import into.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ImportType&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The type of XFRACAS Import to utilize.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;xmlString&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The string consisting of the XML to import.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fileTitle&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The file title of the XML file byte array to import.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fileDescription&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|A description of the XML to import.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
&lt;br /&gt;
{{APIComment| Code Block}}&lt;br /&gt;
        &#039;{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        {{APIPrefix|Private WithEvents MyRepository As [[New Repository]]}}&amp;lt;br&amp;gt;&lt;br /&gt;
        &#039;{{APIComment|Connect to the desired Synthesis repository.}}&lt;br /&gt;
        {{APIPrefix|Dim}}Success{{APIPrefix|As Boolean}}={{APIPrefix|False}}&lt;br /&gt;
        Success = MyRepository.[[Repository.ConnectToSQLRepository|ConnectToSQLRepository]](&amp;quot;SQLServerPath&amp;quot;, &amp;quot;SQLDatabaseName&amp;quot;)&amp;lt;br&amp;gt;&lt;br /&gt;
        &#039;{{APIComment|Set the Desired Entity ID to import into.}}&lt;br /&gt;
        {{APIPrefix|Dim}} DesiredEntityID {{APIPrefix|As Integer}}&lt;br /&gt;
        DesiredEntityID = &#039;{{APIComment|Set the entity ID}}&amp;lt;br&amp;gt;&lt;br /&gt;
        &#039;{{APIComment|Define an XML string}}&lt;br /&gt;
        {{APIPrefix|Dim}}xmlString{{APIPrefix|As String}}={{APIPrefix|Nothing}}&lt;br /&gt;
        &#039;{{APIComment|populate the xmlString with the XML text}}&amp;lt;br&amp;gt;&lt;br /&gt;
        &#039;{{APIComment|Import the XML byte array into the entity desired.  In this example, we assume the XML string type describes an Incident.}}&lt;br /&gt;
        {{APIPrefix|Dim}}ImportXMLSystemID{{APIPrefix|As Integer}}&lt;br /&gt;
        ImportXMLSystemID = MyRepository.[[Repository.ImportXFRACASXMLString|ImportXFRACASXMLString]](DesiredEntityID, [[XFRACASImportType]].Incident, xmlString, &amp;quot;XMLFileTitle&amp;quot;, &amp;quot;XMLFileDescription&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==========old code===&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As [[New Repository]]&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the desired Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.[[Repository.ConnectToSQLRepository|ConnectToSQLRepository]](&amp;quot;SQLServerPath&amp;quot;, &amp;quot;SQLDatabaseName&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Set the Desired Entity ID to import into.}}&lt;br /&gt;
        Dim DesiredEntityID As Integer&lt;br /&gt;
        DesiredEntityID = &#039;{{APIComment|Set the entity ID}}&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Define an XML string.}}&lt;br /&gt;
        Dim xmlString As String = Nothing&lt;br /&gt;
        &#039;populate the xmlString with the XML text&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Import the XML byte array into the entity desired.  In this example, we assume the XML string type describes an Incident.}}&lt;br /&gt;
        Dim ImportXMLSystemID As Integer&lt;br /&gt;
        ImportXMLSystemID = MyRepository.[[Repository.ImportXFRACASXMLString|ImportXFRACASXMLString]](DesiredEntityID, [[XFRACASImportType]].Incident, xmlString, &amp;quot;XMLFileTitle&amp;quot;, &amp;quot;XMLFileDescription&amp;quot;)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repository.XFRACAS.ImportXFRACASXMLString&amp;diff=45538</id>
		<title>Repository.XFRACAS.ImportXFRACASXMLString</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repository.XFRACAS.ImportXFRACASXMLString&amp;diff=45538"/>
		<updated>2013-10-17T20:48:54Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|Repository Class|Repository}}&lt;br /&gt;
Uploads an import file bytestream for processing and returns the system ID&lt;br /&gt;
== Method Syntax ==&lt;br /&gt;
{{APIName|Public Function &#039;&#039;&#039;ImportXFRACASXMLString&#039;&#039;&#039;(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|entityID }}&lt;br /&gt;
{{APIPrefix|As Integer}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|ImportType}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[XFRACASImportType]],}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|xmlString }}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByVal }}&lt;br /&gt;
{{APIName|fileTitle }}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByVal }}&lt;br /&gt;
{{APIName|fileDescription }}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|)}}&lt;br /&gt;
{{APIPrefix|As Integer}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Uploads an import file bytestream for processing and returns the system ID of the uploaded}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;entityID&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The ID of the entity to import into.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ImportType&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The type of XFRACAS Import to utilize.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;xmlString&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The string consisting of the XML to import.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fileTitle&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The file title of the XML file byte array to import.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fileDescription&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|A description of the XML to import.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
&lt;br /&gt;
{{APIComment| Code Block}}&lt;br /&gt;
        &#039;{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        {{APIPrefix|Private WithEvents MyRepository As [[New Repository]]}}&amp;lt;br&amp;gt;&lt;br /&gt;
        &#039;{{APIComment|Connect to the desired Synthesis repository.}}&lt;br /&gt;
        {{APIPrefix|Dim}} Success {{APIPrefix|As Boolean}} = {{APIPrefix|False}}&lt;br /&gt;
        Success = MyRepository.[[Repository.ConnectToSQLRepository|ConnectToSQLRepository]](&amp;quot;SQLServerPath&amp;quot;, &amp;quot;SQLDatabaseName&amp;quot;)&amp;lt;br&amp;gt;&lt;br /&gt;
        &#039;{{APIComment|Set the Desired Entity ID to import into.}}&lt;br /&gt;
        {{APIPrefix|Dim}} DesiredEntityID {{APIPrefix|As Integer}}&lt;br /&gt;
        DesiredEntityID = &#039;{{APIComment|Set the entity ID}}&amp;lt;br&amp;gt;&lt;br /&gt;
        &#039;{{APIComment|Define an XML string}}&lt;br /&gt;
        {{APIPrefix|Dim}} xmlString {{APIPrefix|As String}} = {{APIPrefix|Nothing}}&lt;br /&gt;
        &#039;{{APIComment|populate the xmlString with the XML text}}&amp;lt;br&amp;gt;&lt;br /&gt;
        &#039;{{APIComment|Import the XML byte array into the entity desired.  In this example, we assume the XML string type describes an Incident.}}&lt;br /&gt;
        {{APIPrefix|Dim}} ImportXMLSystemID {{APIPrefix|As Integer}}&lt;br /&gt;
        ImportXMLSystemID = MyRepository.[[Repository.ImportXFRACASXMLString|ImportXFRACASXMLString]](DesiredEntityID, [[XFRACASImportType]].Incident, xmlString, &amp;quot;XMLFileTitle&amp;quot;, &amp;quot;XMLFileDescription&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==========old code===&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As [[New Repository]]&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the desired Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.[[Repository.ConnectToSQLRepository|ConnectToSQLRepository]](&amp;quot;SQLServerPath&amp;quot;, &amp;quot;SQLDatabaseName&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Set the Desired Entity ID to import into.}}&lt;br /&gt;
        Dim DesiredEntityID As Integer&lt;br /&gt;
        DesiredEntityID = &#039;{{APIComment|Set the entity ID}}&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Define an XML string.}}&lt;br /&gt;
        Dim xmlString As String = Nothing&lt;br /&gt;
        &#039;populate the xmlString with the XML text&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Import the XML byte array into the entity desired.  In this example, we assume the XML string type describes an Incident.}}&lt;br /&gt;
        Dim ImportXMLSystemID As Integer&lt;br /&gt;
        ImportXMLSystemID = MyRepository.[[Repository.ImportXFRACASXMLString|ImportXFRACASXMLString]](DesiredEntityID, [[XFRACASImportType]].Incident, xmlString, &amp;quot;XMLFileTitle&amp;quot;, &amp;quot;XMLFileDescription&amp;quot;)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repository.XFRACAS.ImportXFRACASXMLString&amp;diff=45537</id>
		<title>Repository.XFRACAS.ImportXFRACASXMLString</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repository.XFRACAS.ImportXFRACASXMLString&amp;diff=45537"/>
		<updated>2013-10-17T19:06:42Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|Repository Class|Repository}}&lt;br /&gt;
Uploads an import file bytestream for processing and returns the system ID&lt;br /&gt;
== Method Syntax ==&lt;br /&gt;
{{APIName|&#039;&#039;&#039;ImportXFRACASXMLString&#039;&#039;&#039;(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|entityID }}&lt;br /&gt;
{{APIPrefix|As Integer}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|ImportType}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[XFRACASImportType]],}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|xmlString }}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByVal }}&lt;br /&gt;
{{APIName|fileTitle }}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByVal }}&lt;br /&gt;
{{APIName|fileDescription }}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|)}}&lt;br /&gt;
{{APIPrefix|As Integer}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Uploads an import file bytestream for processing and returns the system ID of the uploaded}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;entityID&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The ID of the entity to import into.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ImportType&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The type of XFRACAS Import to utilize.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;xmlString&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The string consisting of the XML to import.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fileTitle&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The file title of the XML file byte array to import.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fileDescription&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|A description of the XML to import.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the desired Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToSQLRepository(&amp;quot;SQLServerPath&amp;quot;, &amp;quot;SQLDatabaseName&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the list of XFRACAS Entities in the current project in the connected repository.}}&lt;br /&gt;
        Dim ListOfXFRACASEntities() As [[NameIdPair Class|NameIdPair]]&lt;br /&gt;
        ListOfXFRACASEntities = MyRepository.GetAllXFRACASEntities()&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Search the Entities for the desired Entity name, to find the Entity ID}}&lt;br /&gt;
        Dim DesiredEntityID As Integer&lt;br /&gt;
        For Each Entity As NameIdPair In ListOfXFRACASEntities()&lt;br /&gt;
            If Entity.Name = &amp;quot;DesiredEntityName&amp;quot;&lt;br /&gt;
               DesiredEntityID = Entity.ID&lt;br /&gt;
               Exit For&lt;br /&gt;
            End If&lt;br /&gt;
        Next&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Define an XML string.}}&lt;br /&gt;
        Dim xmlString As String = Nothing&lt;br /&gt;
        &#039;populate the xmlString with the XML text&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Import the XML byte array into the entity desired.  In this example, we assume the XML string type describes an Incident.}}&lt;br /&gt;
        Dim ImportXMLSystemID As Integer&lt;br /&gt;
        ImportXMLSystemID = MyRepository.ImportXFRACASXMLString(DesiredEntityID, XFRACASImportType.Incident, xmlString, &amp;quot;XMLFileTitle&amp;quot;, &amp;quot;XMLFileDescription&amp;quot;)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repository.XFRACAS.ImportXFRACASXMLFile&amp;diff=45536</id>
		<title>Repository.XFRACAS.ImportXFRACASXMLFile</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repository.XFRACAS.ImportXFRACASXMLFile&amp;diff=45536"/>
		<updated>2013-10-17T19:06:29Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|Repository Class|Repository}}&lt;br /&gt;
Uploads an import file for processing and returns the system ID&lt;br /&gt;
== Method Syntax ==&lt;br /&gt;
{{APIName|&#039;&#039;&#039;ImportXFRACASXMLFile&#039;&#039;&#039;(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|entityID }}&lt;br /&gt;
{{APIPrefix|As Integer}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|ImportType}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[XFRACASImportType]],}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|fileName }}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByVal }}&lt;br /&gt;
{{APIName|fileDescription }}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|)}}&lt;br /&gt;
{{APIPrefix|As Integer}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Uploads an import file for processing and returns the system ID of the uploaded}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;entityID&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The ID of the entity to import into.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ImportType&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The type of XFRACAS Import to utilize.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fileName&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The file path of the XML file to import.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fileDescription&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|A description of the XML to import.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToSQLRepository(&amp;quot;SQLServerPath&amp;quot;, &amp;quot;SQLDatabaseName&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the list of XFRACAS Entities in the current project in the connected repository.}}&lt;br /&gt;
        Dim ListOfXFRACASEntities() As [[NameIdPair Class|NameIdPair]]&lt;br /&gt;
        ListOfXFRACASEntities = MyRepository.GetAllXFRACASEntities()&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Import the XML file into the entity desired.  In this example, the first entity is used.}}&lt;br /&gt;
        Dim ImportXMLSystemID As Integer&lt;br /&gt;
        ImportXMLSystemID = MyRepository.ImportXFRACASXMLFile(ListOfXFRACASEntities(0).ID, XFRACASImportType.Incident, &amp;quot;XMLFileName&amp;quot;, &amp;quot;XMLFileDescription&amp;quot;)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repository.BlockSim.ImportBlockSimXMLFile&amp;diff=45535</id>
		<title>Repository.BlockSim.ImportBlockSimXMLFile</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repository.BlockSim.ImportBlockSimXMLFile&amp;diff=45535"/>
		<updated>2013-10-17T19:06:09Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|Repository Class|Repository}}&lt;br /&gt;
Imports from XML file&lt;br /&gt;
== Method Syntax  ==&lt;br /&gt;
{{APIName|&#039;&#039;&#039;ImportBlockSimXMLFile&#039;&#039;&#039;(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|XMLFile}}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|)}}&lt;br /&gt;
{{APIPrefix|As As Boolean}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Imports from XML file to the current project.}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;XMLFile&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The path for the XML file to import.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToSQLRepository(&amp;quot;SQLServerPath&amp;quot;, &amp;quot;SQLDatabaseName&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Import the XML File to the Synthesis repository.}}&lt;br /&gt;
        Dim SuccessImportXML As Boolean&lt;br /&gt;
        SuccessImportXML = MyRepository.ImportBlockSimXMLFile(&amp;quot;XMLFilePath&amp;quot;)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repository.XFRACAS.ImportXFRACASXML&amp;diff=45534</id>
		<title>Repository.XFRACAS.ImportXFRACASXML</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repository.XFRACAS.ImportXFRACASXML&amp;diff=45534"/>
		<updated>2013-10-17T19:05:04Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|Repository Class|Repository}}&lt;br /&gt;
Uploads an import byte array for processing and returns the system ID&lt;br /&gt;
== Method Syntax ==&lt;br /&gt;
{{APIName|&#039;&#039;&#039;ImportXFRACASXML&#039;&#039;&#039;(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|entityID }}&lt;br /&gt;
{{APIPrefix|As Integer}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|ImportType}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[XFRACASImportType]],}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|byteData }}&lt;br /&gt;
{{APIPrefix|As Byte()}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByVal }}&lt;br /&gt;
{{APIName|fileTitle }}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByVal }}&lt;br /&gt;
{{APIName|fileDescription }}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|)}}&lt;br /&gt;
{{APIPrefix|As Integer}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Uploads an import file bytestream for processing and returns the system ID of the uploaded}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;entityID&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The ID of the entity to import into.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ImportType&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The type of XFRACAS Import to utilize.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;byteData&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The byte array of the XML to import.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fileTitle&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The file title of the XML file byte array to import.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fileDescription&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|A description of the XML to import.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the desired Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToSQLRepository(&amp;quot;SQLServerPath&amp;quot;, &amp;quot;SQLDatabaseName&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the list of XFRACAS Entities in the current project in the connected repository.}}&lt;br /&gt;
        Dim ListOfXFRACASEntities() As [[NameIdPair Class|NameIdPair]]&lt;br /&gt;
        ListOfXFRACASEntities = MyRepository.GetAllXFRACASEntities()&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Search the Entities for the desired Entity name, to find the Entity ID}}&lt;br /&gt;
        Dim DesiredEntityID As Integer&lt;br /&gt;
        For Each Entity As NameIdPair In ListOfXFRACASEntities()&lt;br /&gt;
            If Entity.Name = &amp;quot;DesiredEntityName&amp;quot;&lt;br /&gt;
               DesiredEntityID = Entity.ID&lt;br /&gt;
               Exit For&lt;br /&gt;
            End If&lt;br /&gt;
        Next&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Define an serializable XML Object.}}&lt;br /&gt;
        Dim xmlObject As Object = Nothing&lt;br /&gt;
        &#039;populate the xmlObject with values to import&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Define the byte array.}}&lt;br /&gt;
        Dim byteArray As Byte() = Nothing&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Serialize the xmlObject into the byteArray.}}&lt;br /&gt;
        Dim SerializeSuccess As Boolean&lt;br /&gt;
        SerializeSuccess = MyRepository.SerializeXMLObjectToByteArray(byteArray, xmlObject)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Import the XML byte array into the entity desired.  In this example, we assume the XML object type describes an Incident.}}&lt;br /&gt;
        Dim ImportXMLSystemID As Integer&lt;br /&gt;
        ImportXMLSystemID = MyRepository.ImportXFRACASXML(DesiredEntityID, XFRACASImportType.Incident, byteArray, &amp;quot;XMLFileTitle&amp;quot;, &amp;quot;XMLFileDescription&amp;quot;)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repository.XFRACAS.SerializeXMLObjectToByteArray&amp;diff=45533</id>
		<title>Repository.XFRACAS.SerializeXMLObjectToByteArray</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repository.XFRACAS.SerializeXMLObjectToByteArray&amp;diff=45533"/>
		<updated>2013-10-17T18:51:20Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|Repository Class|Repository}}&lt;br /&gt;
An helper function to serialize XMLs for import into XFRACAS through a byte array&lt;br /&gt;
== Method Syntax ==&lt;br /&gt;
{{APIName|&#039;&#039;&#039;SerializeXMLObjectToByteArray&#039;&#039;&#039;(}}&lt;br /&gt;
{{APIPrefix|ByRef}}&lt;br /&gt;
{{APIName|pData() }}&lt;br /&gt;
{{APIPrefix|As Byte}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByRef}}&lt;br /&gt;
{{APIName|pObject }}&lt;br /&gt;
{{APIPrefix|As Object}}&lt;br /&gt;
{{APIName|)}}&lt;br /&gt;
{{APIPrefix|As Integer}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Uploads an import file for processing and returns the system ID of the uploaded}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;pData&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|A defined byte array to return the }}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;pObject&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|An serializable XML object.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the desired Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToRepository(&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Define an serializable XML Object.}}&lt;br /&gt;
        Dim xmlObject As Object = Nothing&lt;br /&gt;
        &#039;populate the xmlObject with values to import&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Define the byte array.}}&lt;br /&gt;
        Dim byteArray As Byte() = Nothing&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Serialize the xmlObject into the byteArray.}}&lt;br /&gt;
        Dim SerializeSuccess As Boolean&lt;br /&gt;
        SerializeSuccess = MyRepository.SerializeXMLObjectToByteArray(byteArray, xmlObject)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repository.XFRACAS.SerializeXMLObjectToByteArray&amp;diff=45532</id>
		<title>Repository.XFRACAS.SerializeXMLObjectToByteArray</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repository.XFRACAS.SerializeXMLObjectToByteArray&amp;diff=45532"/>
		<updated>2013-10-17T18:50:26Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: Created page with &amp;#039;{{Template:APIClass|Repository Class|Repository}} Uploads an import file for processing and returns the system ID == Method Syntax == {{APIName|&amp;#039;&amp;#039;&amp;#039;SerializeXMLObjectToByteArray&amp;#039;&amp;#039;…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|Repository Class|Repository}}&lt;br /&gt;
Uploads an import file for processing and returns the system ID&lt;br /&gt;
== Method Syntax ==&lt;br /&gt;
{{APIName|&#039;&#039;&#039;SerializeXMLObjectToByteArray&#039;&#039;&#039;(}}&lt;br /&gt;
{{APIPrefix|ByRef}}&lt;br /&gt;
{{APIName|pData() }}&lt;br /&gt;
{{APIPrefix|As Byte}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByRef}}&lt;br /&gt;
{{APIName|pObject }}&lt;br /&gt;
{{APIPrefix|As Object}}&lt;br /&gt;
{{APIName|)}}&lt;br /&gt;
{{APIPrefix|As Integer}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Uploads an import file for processing and returns the system ID of the uploaded}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;pData&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|A defined byte array to return the }}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;pObject&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|An serializable XML object.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the desired Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToRepository(&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Define an serializable XML Object.}}&lt;br /&gt;
        Dim xmlObject As Object = Nothing&lt;br /&gt;
        &#039;populate the xmlObject with values to import&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Define the byte array.}}&lt;br /&gt;
        Dim byteArray As Byte() = Nothing&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Serialize the xmlObject into the byteArray.}}&lt;br /&gt;
        Dim SerializeSuccess As Boolean&lt;br /&gt;
        SerializeSuccess = MyRepository.SerializeXMLObjectToByteArray(byteArray, xmlObject)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Repository.XFRACAS.ImportXFRACASXMLString&amp;diff=45531</id>
		<title>Repository.XFRACAS.ImportXFRACASXMLString</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Repository.XFRACAS.ImportXFRACASXMLString&amp;diff=45531"/>
		<updated>2013-10-17T18:35:04Z</updated>

		<summary type="html">&lt;p&gt;Albert Szeto: Created page with &amp;#039;{{Template:APIClass|Repository Class|Repository}} Uploads an import file bytestream for processing and returns the system ID == Method Syntax == {{APIName|&amp;#039;&amp;#039;&amp;#039;ImportXFRACASXMLStri…&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:APIClass|Repository Class|Repository}}&lt;br /&gt;
Uploads an import file bytestream for processing and returns the system ID&lt;br /&gt;
== Method Syntax ==&lt;br /&gt;
{{APIName|&#039;&#039;&#039;ImportXFRACASXMLString&#039;&#039;&#039;(}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|entityID }}&lt;br /&gt;
{{APIPrefix|As Integer}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|ImportType}}&lt;br /&gt;
{{APIPrefix|As}}&lt;br /&gt;
{{APIName|[[XFRACASImportType]],}}&lt;br /&gt;
{{APIPrefix|ByVal}}&lt;br /&gt;
{{APIName|xmlString }}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByVal }}&lt;br /&gt;
{{APIName|fileTitle }}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|,}}&lt;br /&gt;
{{APIPrefix|ByVal }}&lt;br /&gt;
{{APIName|fileDescription }}&lt;br /&gt;
{{APIPrefix|As String}}&lt;br /&gt;
{{APIName|)}}&lt;br /&gt;
{{APIPrefix|As Integer}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{APIComment|Uploads an import file bytestream for processing and returns the system ID of the uploaded}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&#039;&#039;&#039;entityID&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The ID of the entity to import into.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;ImportType&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The type of XFRACAS Import to utilize.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;xmlString&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The string consisting of the XML to import.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fileTitle&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|The file title of the XML file byte array to import.}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;fileDescription&#039;&#039;&#039;&lt;br /&gt;
{{APIComment|A description of the XML to import.}}&lt;br /&gt;
&lt;br /&gt;
== Usage Example ==&lt;br /&gt;
{{APIComment|Declare a new repository connection class.}}&lt;br /&gt;
        Private WithEvents MyRepository As New Repository&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Connect to the desired Synthesis repository.}}&lt;br /&gt;
        Dim Success As Boolean = False&lt;br /&gt;
        Success = MyRepository.ConnectToRepository(&amp;quot;RepositoryFileNamePath&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Get the list of XFRACAS Entities in the current project in the connected repository.}}&lt;br /&gt;
        Dim ListOfXFRACASEntities() As [[NameIdPair Class|NameIdPair]]&lt;br /&gt;
        ListOfXFRACASEntities = MyRepository.GetAllXFRACASEntities()&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Search the Entities for the desired Entity name, to find the Entity ID}}&lt;br /&gt;
        Dim DesiredEntityID As Integer&lt;br /&gt;
        For Each Entity As NameIdPair In ListOfXFRACASEntities()&lt;br /&gt;
            If Entity.Name = &amp;quot;DesiredEntityName&amp;quot;&lt;br /&gt;
               DesiredEntityID = Entity.ID&lt;br /&gt;
               Exit For&lt;br /&gt;
            End If&lt;br /&gt;
        Next&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Define an XML string.}}&lt;br /&gt;
        Dim xmlString As String = Nothing&lt;br /&gt;
        &#039;populate the xmlString with the XML text&lt;br /&gt;
&lt;br /&gt;
{{APIComment|Import the XML byte array into the entity desired.  In this example, we assume the XML string type describes an Incident.}}&lt;br /&gt;
        Dim ImportXMLSystemID As Integer&lt;br /&gt;
        ImportXMLSystemID = MyRepository.ImportXFRACASXMLString(DesiredEntityID, XFRACASImportType.Incident, xmlString, &amp;quot;XMLFileTitle&amp;quot;, &amp;quot;XMLFileDescription&amp;quot;)&lt;/div&gt;</summary>
		<author><name>Albert Szeto</name></author>
	</entry>
</feed>