Share via


UrnCollection.Contains Method

Specifies if a URN collection contains a URN.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function Contains ( _
    urn As Urn _
) As Boolean
'Usage
Dim instance As UrnCollection
Dim urn As Urn
Dim returnValue As Boolean

returnValue = instance.Contains(urn)
public bool Contains(
    Urn urn
)
public:
virtual bool Contains(
    Urn^ urn
) sealed
abstract Contains : 
        urn:Urn -> bool 
override Contains : 
        urn:Urn -> bool 
public final function Contains(
    urn : Urn
) : boolean

Parameters

  • urn
    Type: Urn
    Urn

Return Value

Type: System.Boolean
Boolean

Implements

ICollection<T>.Contains(T)