Delen via


ISfcPropertySet.Contains<T> Method (String)

Checks whether a property with the specified name and type 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(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.