Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Indicates whether Server Explorer contains a connection node corresponding to the specified data object.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Function Contains ( _
obj As IVsDataObject _
) As Boolean
bool Contains(
IVsDataObject obj
)
bool Contains(
IVsDataObject^ obj
)
abstract Contains :
obj:IVsDataObject -> bool
function Contains(
obj : IVsDataObject
) : boolean
Parameters
obj
Type: Microsoft.VisualStudio.Data.Services.IVsDataObjectThe data object representing the connection node to look for.
Return Value
Type: System.Boolean
true if Server Explorer contains the specified connection node; otherwise, false.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The obj parameter is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- 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.