Contains 方法 (String)

Checks whether a property with the specified name is in the property set. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Function Contains ( _
    propertyName As String _
) As Boolean
用法
Dim instance As ISfcPropertySet
Dim propertyName As String
Dim returnValue As Boolean

returnValue = instance.Contains(propertyName)
bool Contains(
    string propertyName
)
bool Contains(
    String^ propertyName
)
abstract Contains : 
        propertyName:string -> bool 
function Contains(
    propertyName : String
) : boolean

参数

返回值

类型:System. . :: . .Boolean
true if the property is in the property set; otherwise, false.