UrnCollection.IndexOf 方法
Gets the index of a specified URN from a collection.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Function IndexOf ( _
urn As Urn _
) As Integer
用法
Dim instance As UrnCollection
Dim urn As Urn
Dim returnValue As Integer
returnValue = instance.IndexOf(urn)
public int IndexOf(
Urn urn
)
public:
virtual int IndexOf(
Urn^ urn
) sealed
abstract IndexOf :
urn:Urn -> int
override IndexOf :
urn:Urn -> int
public final function IndexOf(
urn : Urn
) : int
参数
- urn
类型:Microsoft.SqlServer.Management.Sdk.Sfc.Urn
The specified URN.
返回值
类型:System.Int32
The index of a specified URN.