IVsDataObjectSelector.GetSupportedRestrictions Method

When implemented by a class, retrieves all the restrictions that are supported when selecting data objects for the specified type.

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

Syntax

'宣言
Function GetSupportedRestrictions ( _
    typeName As String _
) As IList(Of String)
'使用
Dim instance As IVsDataObjectSelector
Dim typeName As String
Dim returnValue As IList(Of String)

returnValue = instance.GetSupportedRestrictions(typeName)
IList<string> GetSupportedRestrictions(
    string typeName
)
IList<String^>^ GetSupportedRestrictions(
    String^ typeName
)
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.

Permissions

See Also

Reference

IVsDataObjectSelector Interface

IVsDataObjectSelector Members

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace