From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
|
LogToDatabase
过程模型回调以改变 Parameters.DatabaseOptions.ConnectionString
所包含的数据,这样您就可以看到动态的行为。详细的原理如下:
DBConnectionStr_1 = ""Provider=MSDASQL.1;Persist Security Info=False;Data Source=TestDSN-1""
DBConnectionStr_2 = ""Provider=MSDASQL.1;Persist Security Info=False;Data Source=TestDSN-2""
Parameters.DatabaseOptions.ConnectionString
属性等于两个变量中的一个。LogToDatabase
过程模型回调的方式。
|