Freigeben über


Contains-Methode (ISfcProperty)

Checks whether a property with the specified metadata is in the property set. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Function Contains ( _
    property As ISfcProperty _
) As Boolean
'Usage
Dim instance As ISfcPropertySet
Dim property As ISfcProperty
Dim returnValue As Boolean

returnValue = instance.Contains(property)
bool Contains(
    ISfcProperty property
)
bool Contains(
    ISfcProperty^ property
)
abstract Contains : 
        property:ISfcProperty -> bool 
function Contains(
    property : ISfcProperty
) : boolean

Parameter

Rückgabewert

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