Service.SaveConfiguration(String, ConfigurationFlags) Method

<< 点击显示目录 >>

主页  PVI通信 > PVI帮助信息 > PVI Services > BR.AN.Namespace > BR.AN.PviServices > Service Class > Service Methods > SaveConfiguration Method >

Service.SaveConfiguration(String, ConfigurationFlags) Method

BR.AN.PviServices .NET


Saves the instance and all its child objects hierarchically structured in a xml-File. Use to restore the object hierarchie structure.

[Visual Basic]

Public Overloads Sub SaveConfiguration( _

  ByVal fileName As String, _

  ByVal flags As ConfigurationFlags _

)

[C#]

public int SaveConfiguration(

  string fileName,

  ConfigurationFlags flags

);

Parameters

fileName

A relative or absolute path for the xml file.

flags

ConfigurationFlags

Return Value

0 if successful, otherwise saving the attributes failed.

Remarks

You can use the to stroe multiple Service objects.

See Also

Service Class | BR.AN.PviServices Namespace | Service.SaveConfiguration Overload List | LoadConfiguration | ServiceCollection


Generated from assembly BR.AN.PviServices [8.1.0.4]