Class GlobalConfigEnum
- Namespace
- SWConfigDataClientLib.Proxies.GlobalConfig
- Assembly
- IpPbxCDSClientLib.dll
<CDSClientLib.EnumSummary>
public class GlobalConfigEnum : GlobalConfigEnumBase, SEnum
- Inheritance
-
SWCFProxy<GlobalConfigEnumClient, IGlobalConfigEnum>SWCFEnum<GlobalConfigEnumClient, IGlobalConfigEnum>GlobalConfigEnum
- Implements
- Inherited Members
Remarks
<CDSClientLib.EnumRemarks></CDSClientLib.EnumRemarks>
Constructors
GlobalConfigEnum()
Create instance of GlobalConfigEnum. For use by unmanged wrapper only.
public GlobalConfigEnum()
Remarks
The connection will be established by the first remote call.
Properties
IsLocal
public bool IsLocal { get; }
Property Value
PoolMaxSize
<CDSClient.PoolMaxSize></CDSClient.PoolMaxSize>
public static int PoolMaxSize { get; set; }
Property Value
PoolMinSize
<CDSClient.PoolMinSize></CDSClient.PoolMinSize>
public static int PoolMinSize { get; set; }
Property Value
m_BaseUrl
protected override string m_BaseUrl { get; }
Property Value
Methods
Clear()
Removes all itmes and filters, DataSet on server will be removed also
public override void Clear()
Remarks
The items will not be deleted in database.
CreateClient(Binding, EndpointAddress)
protected override GlobalConfigEnumClient CreateClient(Binding binding, EndpointAddress endpointAdrress)
Parameters
binding
BindingendpointAdrress
EndpointAddress
Returns
- GlobalConfigEnumClient
Dispose(ServerPropertiesGeneralEntry)
public void Dispose(ServerPropertiesGeneralEntry entry)
Parameters
Dispose(ServerPropertiesRecordingEntry)
public void Dispose(ServerPropertiesRecordingEntry entry)
Parameters
Dispose(ServerPropertiesSipEntry)
public void Dispose(ServerPropertiesSipEntry entry)
Parameters
entry
ServerPropertiesSipEntry
FreeForReuse()
<CDSClient.Enum.FreeForReuse></CDSClient.Enum.FreeForReuse>
public override void FreeForReuse()
GetCurrentObject()
Retrieves the single Entry representing the globalConfig.
public override GlobalConfigEntry GetCurrentObject()
Returns
- GlobalConfigEntry
The GlobalConfigEntry. (there will be only one)
GetGeneralServerProperties()
public ServerPropertiesGeneralEntry GetGeneralServerProperties()
Returns
GetGlobalConfigReadOnlyEntry()
Retrieves the single Entry representing the globalConfig. the entry is for readonly and should no be used for upadate
public GlobalConfigEntry GetGlobalConfigReadOnlyEntry()
Returns
- GlobalConfigEntry
The GlobalConfigEntry. (there will be only one)
GetMaxCdrRetentionDays()
public int GetMaxCdrRetentionDays()
Returns
GetMaxRetentionDaysInfo()
public MaxRetentions GetMaxRetentionDaysInfo()
Returns
- MaxRetentions
GetRecordingServerProperties()
public ServerPropertiesRecordingEntry GetRecordingServerProperties()
Returns
GetRemoteConnectorConfig()
public RemoteConnectorConfig GetRemoteConnectorConfig()
Returns
- RemoteConnectorConfig
GetServerDataDirectoryUNC()
Returns the UNC path of the Data directory.
public string GetServerDataDirectoryUNC()
Returns
- string
UNC path of the data directoy.
GetServerDescription()
Retrieves the server description of the a server identified by name of the local machine.
public string GetServerDescription()
Returns
- string
The description
GetServerDescription(string)
Retrieves the server description of the a server identified by name.
public string GetServerDescription(string ServerName)
Parameters
ServerName
string
Returns
- string
The description
GetServerRequestTimeout(GlobalConfigEnumClient)
protected override TimeSpan GetServerRequestTimeout(GlobalConfigEnumClient client)
Parameters
client
GlobalConfigEnumClient
Returns
GetSipServerProperties()
public ServerPropertiesSipEntry GetSipServerProperties()
Returns
GetSystemConfigurationInfo()
public SystemConfigurationInfo GetSystemConfigurationInfo()
Returns
- SystemConfigurationInfo
GetUserRootDirectoryUNC()
Returns the UNC path of the User directory.
public string GetUserRootDirectoryUNC()
Returns
- string
UNC path of the User directoy.
GrantRoleInstallAdministrator()
Grant the role IntallAdministrator to the current user. This role is required to work with files with system flag. This method is used by the ConfigWiz only.
public void GrantRoleInstallAdministrator()
Remarks
The current user has to be authenticated by windows authentication (Trusted/UsernamePassword without ippbx prefix) The current must own the API role SecurityAdminLevel6 for this operation
PingService(GlobalConfigEnumClient)
protected override void PingService(GlobalConfigEnumClient client)
Parameters
client
GlobalConfigEnumClient
RevokeRoleInstallAdministrator()
Revokes the role IntallAdministrator to the current user. This role is required to work with files with system flag. This method is used by the ConfigWiz only.
public void RevokeRoleInstallAdministrator()
Remarks
The current user has to be authenticated by windows authentication (Trusted/UsernamePassword without ippbx prefix) The current must own the API role SecurityAdminLevel6 for this operation
SaveRemoteConnectorConfig(RemoteConnectorConfig)
public bool SaveRemoteConnectorConfig(RemoteConnectorConfig config)
Parameters
config
RemoteConnectorConfig
Returns
SetGeneralServerProperties(ServerPropertiesGeneralEntry)
public void SetGeneralServerProperties(ServerPropertiesGeneralEntry entry)
Parameters
SetRecordningServerProperties(ServerPropertiesRecordingEntry)
public void SetRecordningServerProperties(ServerPropertiesRecordingEntry entry)
Parameters
SetServerDescription(string)
Sets the description string of this server (local machine name).
public void SetServerDescription(string Description)
Parameters
Description
stringThe description
SetServerDescription(string, string)
Sets the description string of a server indentified by its name.
public void SetServerDescription(string ServerName, string Description)
Parameters
SetSipServerProperties(ServerPropertiesSipEntry)
public void SetSipServerProperties(ServerPropertiesSipEntry entry)
Parameters
entry
ServerPropertiesSipEntry
Update()
writes the global config entry to database
public override void Update()