DomainServiceDescription.GetQueryMethod Method
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Returns the DomainService query method with the specified name.
Namespace: System.ServiceModel.DomainServices.Server
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
Syntax
'Declaration
Public Function GetQueryMethod ( _
queryName As String _
) As DomainOperationEntry
'Usage
Dim instance As DomainServiceDescription
Dim queryName As String
Dim returnValue As DomainOperationEntry
returnValue = instance.GetQueryMethod(queryName)
public DomainOperationEntry GetQueryMethod(
string queryName
)
public:
DomainOperationEntry^ GetQueryMethod(
String^ queryName
)
member GetQueryMethod :
queryName:string -> DomainOperationEntry
public function GetQueryMethod(
queryName : String
) : DomainOperationEntry
Parameters
- queryName
Type: System.String
The name of the query.
Return Value
Type: System.ServiceModel.DomainServices.Server.DomainOperationEntry
The DomainOperationEntry for the specified query name.