共用方式為


DataObjectSelector.GetSupportedRestrictions Method

Definition

Overloads

GetSupportedRestrictions(String)

Retrieves all the restrictions that are supported when data objects are selected for the specified type.

GetSupportedRestrictions(String, Object[])

Retrieves all the restrictions that are supported when data objects are selected for the specified type.

GetSupportedRestrictions(String)

Retrieves all the restrictions that are supported when data objects are selected for the specified type.

public:
 virtual System::Collections::Generic::IList<System::String ^> ^ GetSupportedRestrictions(System::String ^ typeName);
public System.Collections.Generic.IList<string> GetSupportedRestrictions (string typeName);
abstract member GetSupportedRestrictions : string -> System.Collections.Generic.IList<string>
override this.GetSupportedRestrictions : string -> System.Collections.Generic.IList<string>
Public Function GetSupportedRestrictions (typeName As String) As IList(Of String)

Parameters

typeName
String

The data source–specific type name for which to get the supported restrictions.

Returns

A list of the restrictions that are supported when retrieving data objects for the specified type.

Implements

Exceptions

The typeName parameter is null.

Applies to

GetSupportedRestrictions(String, Object[])

Retrieves all the restrictions that are supported when data objects are selected for the specified type.

protected:
 virtual System::Collections::Generic::IList<System::String ^> ^ GetSupportedRestrictions(System::String ^ typeName, cli::array <System::Object ^> ^ parameters);
protected virtual System.Collections.Generic.IList<string> GetSupportedRestrictions (string typeName, object[] parameters);
abstract member GetSupportedRestrictions : string * obj[] -> System.Collections.Generic.IList<string>
override this.GetSupportedRestrictions : string * obj[] -> System.Collections.Generic.IList<string>
Protected Overridable Function GetSupportedRestrictions (typeName As String, parameters As Object()) As IList(Of String)

Parameters

typeName
String

The data source–specific type name for which to get the supported restrictions.

parameters
Object[]

An array containing the parameters for the specified type.

Returns

A list of the restrictions that are supported when retrieving data objects for the specified type.

Exceptions

The typeName parameter is null.

One or more values in parameters are not valid.

Applies to