Compartilhar via


IVsDataObjectSelector.GetRequiredRestrictions Method

When implemented by a class, retrieves a list of the restrictions that are required 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

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

Parameters

  • typeName
    Type: System.String

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

Return Value

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

.NET Framework Security

See Also

Reference

IVsDataObjectSelector Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace