<< Click to Display Table of Contents >> Navigation: OLE Automation > Application > Properties > SpaceObServer.Application.Properties.ConnectionString |
Description
Use this property to configure the database connection of SpaceObServer.
Syntax
property ConnectionString: <String>;
Example
$SOS.ConnectionString = "Provider=SQLOLEDB.1;Data Source=Server1;Initial Catalog=SpaceObServer;Persist Security Info=False;Integrated Security=SSPI" #PowerShell
SOS.ConnectionString = "Provider=SQLOLEDB.1;Data Source=Server1;Initial Catalog=SpaceObServer;Persist Security Info=False;Integrated Security=SSPI" 'VBS
Sets the database connection of SpaceObServer to an MS SQL Server named "Server1" to and database named "SpaceObServer", using Windows Authentication mode.