SourceManagerAddFolder Method |
Note: This API is now obsolete.
Namespace: Law.EdaIntegration.Import
[ObsoleteAttribute] public void AddFolder( string folderPath, int custodianId, string sourceName = "" )
Exception | Condition |
---|---|
EdaApiException | Thrown if a folder cannot be found |
using Law.EdaIntegration; class Sample { public static void Main() { string connectionString = @"Data Source=localhost;Initial Catalog=EDA_Management;Integrated Security=False;User ID=myUserId;Password=myPassword"; EdaIntegration edaIntegration = new EdaIntegration(); edaIntegration.InitializeEnvironment(connectionString); Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 1"); int custodianId = 21; string folder = @"\\NetworkDrive\Folder1\Folder2\Documents"; edaCase.Sources.AddFolder(folder, custodianId); } }