BoxedIce.ServerDensity.Agent.AgentConfiguration.AgentConfiguration C# (CSharp) Method

AgentConfiguration() public method

Initialises a new instance of the AgentConfiguration class with the provided values.
public AgentConfiguration ( string url, string agentKey, bool iisChecks, string pluginDirectory, string mongoDBConnectionString, bool mongoDBDBStats, bool mongoDBReplSet, bool sqlServerChecks, string customPrefix, bool eventViewer ) : System
url string The URL.
agentKey string The agent key.
iisChecks bool A value indicating whether or not to perform IIS checks.
pluginDirectory string A directory to search in for plugins.
mongoDBConnectionString string A connection string for MongoDB monitoring.
mongoDBDBStats bool
mongoDBReplSet bool
sqlServerChecks bool
customPrefix string
eventViewer bool
return System
        public AgentConfiguration(string url, string agentKey, bool iisChecks, string pluginDirectory, string mongoDBConnectionString, bool mongoDBDBStats, bool mongoDBReplSet, bool sqlServerChecks, string customPrefix, bool eventViewer)
        {
            Url = url;
            AgentKey = agentKey;
            IISChecks = iisChecks;
            PluginDirectory = pluginDirectory;
            MongoDBConnectionString = mongoDBConnectionString;
            MongoDBDBStats = mongoDBDBStats;
            MongoDBReplSet = mongoDBReplSet;
            SQLServerChecks = sqlServerChecks;
            CustomPrefix = customPrefix;
            EventViewer = eventViewer;
        }