Share via


SfcPropertyCollection.Contains<T> Method (String)

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
Public Function Contains(Of T) ( _
    propertyName As String _
) As Boolean
'Usage
Dim instance As SfcPropertyCollection 
Dim propertyName As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(propertyName)
public bool Contains<T>(
    string propertyName
)
public:
generic<typename T>
virtual bool Contains(
    String^ propertyName
) sealed
abstract Contains : 
        propertyName:string -> bool  
override Contains : 
        propertyName:string -> bool
JScript does not support generic types and methods.

Type Parameters

  • T

Parameters

  • propertyName
    Type: System.String
    A string that represents the property name.

Return Value

Type: System.Boolean
true if the specified property exists in the property collection; otherwise, false.

Implements

ISfcPropertySet.Contains<T>(String)

See Also

Reference

SfcPropertyCollection Class

Contains Overload

Microsoft.SqlServer.Management.Sdk.Sfc Namespace