Share via


DatePartCollection Constructor

Initializes a new instance of the DatePartCollection class that has the default initial capacity.

Namespace:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New DatePartCollection()
public DatePartCollection()
public:
DatePartCollection()
new : unit -> DatePartCollection
public function DatePartCollection()