Interface IAgentExternalStorageConfigurationPhase
Part of the Software Potential Agent configuration pipeline.
Each specific application style/environment provides appropriate Extension Methods on this interface to provide an appropriate subset of customization options.
NB IntelliSense will not offer any methods until you add a Reference to an appropriate storage extension such as Sp.Agent.
Crm/Local/Iis/Removable.dll
.
Namespace: Sp.Agent.Configuration
Assembly: Sp.Agent.dll
Methods
DisableExternalStorage()
Indicates that one does not wish to make any additional storage mechanisms beyond the local bound storage available (such as Removable or Distributed Storage).
Declaration
IAgentEmbeddedLicensesConfigurationPhase DisableExternalStorage()
Returns
Type | Description |
---|---|
IAgentEmbeddedLicensesConfigurationPhase | The next link in the Fluent Expression chain. |
DisableRemovableStorage()
Specifies that one wishes to Disable the Removable storage subsystem.
Declaration
IAgentCloudStorageConfigurationPhase DisableRemovableStorage()
Returns
Type | Description |
---|---|
IAgentCloudStorageConfigurationPhase |
Remarks
Does not affect Distributor Checkout functionality.
Examples
AgentContext.For( "abc12" )
.Configure( agent => agent
.WithLocalStorage(...)
.WithRemovableStorageDisabled()
.WithDistributor( distributor => distributor
.WithDiscovery( () => baseUri )
.CompleteWithDefaults())
.CompleteWithDefaults() );