Click or drag to resize
ServerSecurityGetAgent Method DataPA OpenAnalytics
DataPA OpenAnalytics API Reference
Gets a DataPA Enterprise Agent.

Namespace: DataPAServerSecurity
Assembly: DataPAServerSecurity (in DataPAServerSecurity.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public bool GetAgent(
	string Source,
	DPALogging DPALogging = null,
	string DataPAInstanceIdentifier = "",
	string AgentLogPath = ""
)

Parameters

Source
Type: SystemString
The source string for logging purposes.
DPALogging (Optional)
Type: DPALogging
An optional DataPA logging object.
DataPAInstanceIdentifier (Optional)
Type: SystemString
AgentLogPath (Optional)
Type: SystemString

Return Value

Type: Boolean
A boolean stating if an agent was successfully aquired.
Remarks