JAMS Developer Guide
Check Method (IResourceWCF)


MVPSI.JAMS Namespace > IResourceWCF Interface : Check Method
Check a Resource.
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Function Check( _
   ByVal resourceID As System.Integer, _
   ByVal resourceName As System.String, _
   ByVal access As ResourceAccess _
) As System.Threading.Tasks.Task(Of CheckResult)
'Usage
 
Dim instance As IResourceWCF
Dim resourceID As System.Integer
Dim resourceName As System.String
Dim access As ResourceAccess
Dim value As System.Threading.Tasks.Task(Of CheckResult)
 
value = instance.Check(resourceID, resourceName, access)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
System.Threading.Tasks.Task<CheckResult> Check( 
   System.int resourceID,
   System.string resourceName,
   ResourceAccess access
)

Parameters

resourceID
resourceName
access
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

IResourceWCF Interface
IResourceWCF Members