Partilhar via


Método Contains (String)

Determines whether the property is in the property collection. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

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

Sintaxe

'Declaração
Public Function Contains ( _
    propertyName As String _
) As Boolean
'Uso
Dim instance As SfcPropertyCollection
Dim propertyName As String
Dim returnValue As Boolean

returnValue = instance.Contains(propertyName)
public bool Contains(
    string propertyName
)
public:
virtual bool Contains(
    String^ propertyName
) sealed
abstract Contains : 
        propertyName:string -> bool 
override Contains : 
        propertyName:string -> bool 
public final function Contains(
    propertyName : String
) : boolean

Parâmetros

Valor de retorno

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

Implementa

ISfcPropertySet. . :: . .Contains(String)