DataConnector
C1.AdoNet.D365S Assembly / C1.DataConnector.AdoNet Namespace / DbConnectionWrap<TInnerConnection,TInnerCommand,TInnerParameter> Class / InitializeLifetimeService Method

In This Topic
    InitializeLifetimeService Method (DbConnectionWrap<TInnerConnection,TInnerCommand,TInnerParameter>)
    In This Topic
    Obtains a lifetime service object to control the lifetime policy for this instance.
    Syntax
    'Declaration
     
    Public Overrides Function InitializeLifetimeService() As System.Object
    public override System.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