Freigeben über


Contains-Methode (String)

Checks whether a property with the specified name 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 ( _
    propertyName As String _
) As Boolean
'Usage
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

Parameter

Rückgabewert

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