Skip to content

SetDataProvider2 Method

Description

Sets the custom data provider for this resource. The data provider is set using a Connection String.

Syntax

Public Sub SetDataProvider2( _
    ByVal ConnectionString As String, _
    ByVal bCloseDataProviderWhenDestroy As Boolean _
)

Parameters

  • ConnectionString: Connection String containing the name and type of the data provider.
  • bCloseDataProviderWhenDestroy: True to call the Close method of the data provider when the resource is destroyed.

Remarks

Sets the CalendarDataProvider that will be used for this resource.

See Also


See Also

Calendar ActiveX Control v24.0


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.