Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / Project Class / AddLibraryConnection Method / AddLibraryConnection(BaseLibraryConnection) Method
The library connection which you want to add.
In This Topic
    AddLibraryConnection(BaseLibraryConnection) Method
    In This Topic
    Add the library connection to this project.
    Syntax
    public void AddLibraryConnection( 
       BaseLibraryConnection connection
    )

    Parameters

    connection
    The library connection which you want to add.
    Remarks
    Library related with this connection is not set as active after this method. Use ConnectToLibrary(BaseLibraryConnection,String,Boolean) or ConnectToLibrary(BaseLibraryConnection,String,String,Boolean) to set library as active.
    See Also