Share via


ISfcPropertySet.Contains<T> Method (String)

Checks whether a property with the specified name and type is in the property set.

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

Syntax

'Declaration
Function Contains(Of T) ( _
    name As String _
) As Boolean
'Usage
Dim instance As ISfcPropertySet 
Dim name As String 
Dim returnValue As Boolean 

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

Type Parameters

  • T
    The type of the property to find.

Parameters

Return Value

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

See Also

Reference

ISfcPropertySet Interface

Contains Overload

Microsoft.SqlServer.Management.Sdk.Sfc Namespace