Share via


DataObjectSelector.GetSupportedRestrictions Method (String)

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
Public Function GetSupportedRestrictions ( _
    typeName As String _
) As IList(Of String)
public IList<string> GetSupportedRestrictions(
    string typeName
)
public:
virtual IList<String^>^ GetSupportedRestrictions(
    String^ typeName
) sealed
abstract GetSupportedRestrictions : 
        typeName:string -> IList<string> 
override GetSupportedRestrictions : 
        typeName:string -> IList<string> 
public final function GetSupportedRestrictions(
    typeName : String
) : IList<String>

Parameters

  • typeName
    Type: System.String

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

Return Value

Type: System.Collections.Generic.IList<String>
A list of the restrictions that are supported when retrieving data objects for the specified type.

Implements

IVsDataObjectSelector.GetSupportedRestrictions(String)

Exceptions

Exception Condition
ArgumentNullException

The typeName parameter is nulla null reference (Nothing in Visual Basic).

Remarks

This method delegates the call to the GetSupportedRestrictions method and passes null for the second parameter.

.NET Framework Security

See Also

Reference

DataObjectSelector Class

GetSupportedRestrictions Overload

Microsoft.VisualStudio.Data.Framework Namespace