Contains 方法 (Dependency)
不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Determines whether the specified Dependency object is in the collection.
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Function Contains ( _
value As Dependency _
) As Boolean
用法
Dim instance As DependencyChainCollection
Dim value As Dependency
Dim returnValue As Boolean
returnValue = instance.Contains(value)
public bool Contains(
Dependency value
)
public:
bool Contains(
Dependency^ value
)
member Contains :
value:Dependency -> bool
public function Contains(
value : Dependency
) : boolean
参数
- value
类型:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .Dependency
The Dependency object to find.
返回值
类型:System. . :: . .Boolean
true if value is found in the collection; otherwise, false.