Compartir a través de


Contains(T) Método (String)

Checks whether a property with the specified name and type is in the property set. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
Function Contains(Of T) ( _
    name As String _
) As Boolean
'Uso
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 no admite tipos y métodos genéricos.

Parámetros de tipo

  • T
    The type of the property to find.

Parámetros

Valor devuelto

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