Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves all the restrictions that are supported when data objects are selected for the specified type.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Protected Overridable Function GetSupportedRestrictions ( _
typeName As String, _
parameters As Object() _
) As IList(Of String)
protected virtual IList<string> GetSupportedRestrictions(
string typeName,
Object[] parameters
)
protected:
virtual IList<String^>^ GetSupportedRestrictions(
String^ typeName,
array<Object^>^ parameters
)
abstract GetSupportedRestrictions :
typeName:string *
parameters:Object[] -> IList<string>
override GetSupportedRestrictions :
typeName:string *
parameters:Object[] -> IList<string>
protected function GetSupportedRestrictions(
typeName : String,
parameters : Object[]
) : IList<String>
Parameters
- typeName
Type: System.String
The data source–specific type name for which to get the supported restrictions.
- parameters
Type: array<System.Object[]
An array containing the parameters for the specified type.
Return Value
Type: System.Collections.Generic.IList<String>
A list of the restrictions that are supported when retrieving data objects for the specified type.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The typeName parameter is nulla null reference (Nothing in Visual Basic). |
ArgumentException | One or more values in parameters are not valid. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.