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
urn
Type: Microsoft.SqlServer.Management.Sdk.Sfc.UrnThe specified URN.
Return Value
Type: System.Int32
The index of a specified URN.
Implements
Examples
Legacy Code Example
See Also
UrnCollection Class
Microsoft.SqlServer.Management.Smo Namespace
Return to top