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.