JAMS Developer Guide
FindByID Method (ITimeZoneWCF)


MVPSI.JAMS Namespace > ITimeZoneWCF Interface : FindByID Method
Gets a specific Time Zone by ID
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Function FindByID( _
   ByVal timeZoneId As System.Integer _
) As System.Threading.Tasks.Task(Of TimeZone)
'Usage
 
Dim instance As ITimeZoneWCF
Dim timeZoneId As System.Integer
Dim value As System.Threading.Tasks.Task(Of TimeZone)
 
value = instance.FindByID(timeZoneId)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
System.Threading.Tasks.Task<TimeZone> FindByID( 
   System.int timeZoneId
)

Parameters

timeZoneId
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

ITimeZoneWCF Interface
ITimeZoneWCF Members