IDataServiceActionProvider.GetServiceActions 方法
傳回提供者中的所有服務動作。
命名空間: System.Data.Services.Providers
組件: Microsoft.Data.Services (在 Microsoft.Data.Services.dll 中)
語法
'宣告
Function GetServiceActions ( _
operationContext As DataServiceOperationContext _
) As IEnumerable(Of ServiceAction)
'用途
Dim instance As IDataServiceActionProvider
Dim operationContext As DataServiceOperationContext
Dim returnValue As IEnumerable(Of ServiceAction)
returnValue = instance.GetServiceActions(operationContext)
IEnumerable<ServiceAction> GetServiceActions(
DataServiceOperationContext operationContext
)
IEnumerable<ServiceAction^>^ GetServiceActions(
DataServiceOperationContext^ operationContext
)
abstract GetServiceActions :
operationContext:DataServiceOperationContext -> IEnumerable<ServiceAction>
function GetServiceActions(
operationContext : DataServiceOperationContext
) : IEnumerable<ServiceAction>
參數
- operationContext
型別:System.Data.Services.DataServiceOperationContext
資料服務作業內容執行個體。
傳回值
型別:System.Collections.Generic.IEnumerable<ServiceAction>
所有服務動作的列舉。