DataConnector | ComponentOne
C1.AdoNet.D365S Assembly / C1.AdoNet.D365S Namespace / C1D365SConnection Class / InitializeLifetimeService Method

In This Topic
    InitializeLifetimeService Method (C1D365SConnection)
    In This Topic
    Obtains a lifetime service object to control the lifetime policy for this instance.
    Syntax
    'Declaration
     
    Public Function InitializeLifetimeService() As Object
    public object InitializeLifetimeService()

    Return Value

    An object of type System.Runtime.Remoting.Lifetime. used to control the lifetime policy for this instance. This is the current lifetime service object for this instance if one exists; otherwise, a new lifetime service object initialized to the value of the System.Runtime.Remoting.Lifetime.LifetimeServices.LeaseManagerPollTime property.
    See Also