Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.IVsDataObject
The 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.