UrnCollection.Contains Method (Urn)

 

Applies To: SQL Server 2016 Preview

Specifies whether a URN collection contains a URN.

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

Syntax

public bool Contains(
    Urn urn
)
public:
virtual bool Contains(
    Urn^ urn
) sealed
abstract Contains : 
        urn:Urn -> bool
override Contains : 
        urn:Urn -> bool
Public Function Contains (
    urn As Urn
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if a URN collection contains a URN; otherwise, false.

Implements

ICollection<T>.Contains(T)

Examples

Legacy Code Example

Using Collections

See Also

UrnCollection Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top