JAMS Developer Guide
Workday Method


MVPSI.JAMS Namespace > IDateWCF Interface : Workday Method
The date that should be checked.
Checks to see if a date is a workday.
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Function Workday( _
   ByVal checkDate As System.Date _
) As System.Threading.Tasks.Task(Of Boolean)
'Usage
 
Dim instance As IDateWCF
Dim checkDate As System.Date
Dim value As System.Threading.Tasks.Task(Of Boolean)
 
value = instance.Workday(checkDate)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
System.Threading.Tasks.Task<bool> Workday( 
   System.DateTime checkDate
)

Parameters

checkDate
The date that should be checked.

Return Value

True is the date is a workday.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IDateWCF Interface
IDateWCF Members