ContentStore Constructor (String, DirectoryInfo)
|
Initializes a new instance of the ContentStore class, connecting to a content store via an embedded client.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax public ContentStore(
string xmlPath,
DirectoryInfo dataDir = null
)
Public Sub New (
xmlPath As String,
Optional dataDir As DirectoryInfo = Nothing
)
public:
ContentStore(
String^ xmlPath,
DirectoryInfo^ dataDir = nullptr
)
new :
xmlPath : string *
?dataDir : DirectoryInfo
(* Defaults:
let _dataDir = defaultArg dataDir null
*)
-> ContentStore
Parameters
- xmlPath
- Type: SystemString
The location of the XML directory - dataDir (Optional)
- Type: System.IODirectoryInfo
The directory where the content store's data resides. If left to the default value, it is the Databases directory under the XML directory.
See Also