DBConfigurationBaseAddUpdateLocalKnowledge Method |
Adds a new local knowledge entry to the site, or updates an existsing entry.
Namespace:
Cadcorp.Configuration.Connectors
Assembly:
Cadcorp.Configuration (in Cadcorp.Configuration.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntaxpublic virtual int AddUpdateLocalKnowledge(
int localKnowledgeId,
string name,
string swdPath,
int nothingFoundTemplateId,
int fullTemplateId,
int summaryTemplateId,
LayerTemplateData[] layerTemplates
)
Public Overridable Function AddUpdateLocalKnowledge (
localKnowledgeId As Integer,
name As String,
swdPath As String,
nothingFoundTemplateId As Integer,
fullTemplateId As Integer,
summaryTemplateId As Integer,
layerTemplates As LayerTemplateData()
) As Integer
Parameters
- localKnowledgeId
- Type: SystemInt32
ID Value - name
- Type: SystemString
Name of local knowledge bit - swdPath
- Type: SystemString
Path to local knowledge SWD. - nothingFoundTemplateId
- Type: SystemInt32
Nothing found template ID - fullTemplateId
- Type: SystemInt32
Full Template ID - summaryTemplateId
- Type: SystemInt32
Summary Template ID - layerTemplates
- Type: Cadcorp.ConfigurationLayerTemplateData
Layer template array
Return Value
Type:
Int32Boolean value indicating success.
Implements
IDBConfigWriterAddUpdateLocalKnowledge(Int32, String, String, Int32, Int32, Int32, LayerTemplateData)
See Also