OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / DataAccess Class / GetPackageType Method / GetPackageType(String) Method
The name of the PackageType.



In This Topic
    GetPackageType(String) Method
    In This Topic
    Retrieves a single PackageType object assigned to a given name.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetPackageType( _
       ByVal packageTypeName As String _
    ) As PackageType
    'Usage
     
    
    Dim instance As DataAccess
    Dim packageTypeName As String
    Dim value As PackageType
     
    value = instance.GetPackageType(packageTypeName)
    public PackageType GetPackageType( 
       string packageTypeName
    )
    public:
    PackageType^ GetPackageType( 
       String^ packageTypeName
    ) 

    Parameters

    packageTypeName
    The name of the PackageType.

    Return Value

    A comprehensive PackageType object.
    Requirements

    Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows Server 2022

    See Also