Delen via


ISfcPropertySet.Contains Method (String)

Checks whether a property with the specified name is in the property set. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Parameters

  • propertyName
    Type: System.String
    The name of the property to find.

Return Value

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