Partager via


Méthode Contains (String)

Checks whether a property with the specified name is in the property set. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Function Contains ( _
    propertyName As String _
) As Boolean
'Utilisation
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

Paramètres

Valeur de retour

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