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.StringThe 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
- 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.
See Also
Reference
IVsDataObjectSelector Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace