PRIMAVERA | Developers

    Show / Hide Table of Contents

    Class AdmBSLicencas

    Serviços de licenças.

    Inheritance
    System.Object
    AdmBSLicencas
    Implements
    AdmBS100.IAdmBSLicencas
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: AdmBS100
    Assembly: AdmBS100.dll
    Syntax
    [ComVisible(true)]
    [Guid("F119FF87-C6BD-41CB-B1F5-49EA29E971A2")]
    [ClassInterface(ClassInterfaceType.None)]
    public class AdmBSLicencas : IAdmBSLicencas

    Constructors

    AdmBSLicencas()

    Declaration
    public AdmBSLicencas()

    Methods

    ExisteLicenciamentoConcorrenteDisponivel(String, Int32, String, String)

    Valida se existe licenciamento disponivel para o utilizador.

    Declaration
    public bool ExisteLicenciamentoConcorrenteDisponivel(string strUtilizador, int intPlataforma, string strInstancia, string strModuloBase)
    Parameters
    Type Name Description
    System.String strUtilizador

    Utilizador.

    System.Int32 intPlataforma

    Tipo de plataforma.

    System.String strInstancia

    Instância.

    System.String strModuloBase

    Módulo base de concorrência.

    Returns
    Type Description
    System.Boolean

    RecalculaSubmodulosCheck()

    Recalcula atribuições de licenças

    Declaration
    public void RecalculaSubmodulosCheck()

    RemoveAtribuicoesLicencaExcedentes(StdBEXmlLic)

    Remove atribuições de licenciamento excedentes

    Declaration
    public void RemoveAtribuicoesLicencaExcedentes(StdBEXmlLic objLic)
    Parameters
    Type Name Description
    StdBEXmlLic objLic

    Objecto contendo a licença

    SubModulosExcedidosUltimaValidacao()

    devolve os submodulos excedidos na ultima validação.

    Declaration
    public string SubModulosExcedidosUltimaValidacao()
    Returns
    Type Description
    System.String

    ValidaLicenciamentoConcorrenteExcedente(String, Int32, ref String)

    Valida se o licenciamento foi excedido.

    Declaration
    public bool ValidaLicenciamentoConcorrenteExcedente(string strAplicacao, int maxSessoes, ref string outMensagem)
    Parameters
    Type Name Description
    System.String strAplicacao

    The string aplicacao.

    System.Int32 maxSessoes

    The maximum sessions.

    System.String outMensagem

    The out mensagem.

    Returns
    Type Description
    System.Boolean

    ValidaLicenciamentoExcedente(Int32, String, ref String)

    Validações de licenciamento.

    Declaration
    public bool ValidaLicenciamentoExcedente(int intPlataforma, string strInstancia, ref string outMensagem)
    Parameters
    Type Name Description
    System.Int32 intPlataforma

    Tipo de plataforma.

    System.String strInstancia

    Instância.

    System.String outMensagem

    Mensagem de erro devolvida.

    Returns
    Type Description
    System.Boolean

    Implements

    AdmBS100.IAdmBSLicencas