UrnCollection.IndexOf Method (Urn)

 

Applies To: SQL Server 2016 Preview

Gets the index of a specified URN from a collection.

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

Syntax

public int IndexOf(
    Urn urn
)
public:
virtual int IndexOf(
    Urn^ urn
) sealed
abstract IndexOf : 
        urn:Urn -> int
override IndexOf : 
        urn:Urn -> int
Public Function IndexOf (
    urn As Urn
) As Integer

Parameters

Return Value

Type: System.Int32

The index of a specified URN.

Implements

IList<T>.IndexOf(T)

Examples

Legacy Code Example

Using Collections

See Also

UrnCollection Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top