DependencyChainCollection.IndexOf 메서드 (Dependency)
코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. Searches for the specified Dependency object and returns the zero-based index of the first occurrence within the entire collection.
네임스페이스: Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리: Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)
구문
‘선언
Public Function IndexOf ( _
value As Dependency _
) As Integer
‘사용 방법
Dim instance As DependencyChainCollection
Dim value As Dependency
Dim returnValue As Integer
returnValue = instance.IndexOf(value)
public int IndexOf(
Dependency value
)
public:
int IndexOf(
Dependency^ value
)
member IndexOf :
value:Dependency -> int
public function IndexOf(
value : Dependency
) : int
매개 변수
- value
유형: Microsoft.SqlServer.Management.Sdk.Sfc.Dependency
The Dependency object to find in the collection.
반환 값
유형: System.Int32
The zero-based index of the first occurrence of value within the collection; -1 if value is not found.