Partager via


IVsDataObjectStore.GetSupportedRestrictions Method

Returns all the restrictions that are supported for selecting objects of the specified type from the object store.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Function GetSupportedRestrictions ( _
    typeName As String _
) As IList(Of String)
IList<string> GetSupportedRestrictions(
    string typeName
)
IList<String^>^ GetSupportedRestrictions(
    String^ typeName
)
abstract GetSupportedRestrictions : 
        typeName:string -> IList<string> 
function GetSupportedRestrictions(
    typeName : String
) : IList<String>

Parameters

  • typeName
    Type: System.String

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

Return Value

Type: System.Collections.Generic.IList<String>
A list of string values representing the supported restrictions.

Exceptions

Exception Condition
ArgumentNullException

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

Remarks

The restrictions act as a filter to limit the number of objects returned from the object store.

.NET Framework Security

See Also

Reference

IVsDataObjectStore Interface

Microsoft.VisualStudio.Data.Services Namespace