DataBus.Contains Method

Definition

Checks if the property exists.

Overloads

Contains(ISfcProperty)

Checks if the property with specified metadata and value exists. This class cannot be inherited.

Contains(String)

Checks if the property with specified name exists. This class cannot be inherited.

Contains<T>(String)

Indicates whether the property with the specified name exists.

Contains(ISfcProperty)

Checks if the property with specified metadata and value exists. This class cannot be inherited.

public:
 virtual bool Contains(Microsoft::SqlServer::Management::Sdk::Sfc::ISfcProperty ^ property);
public bool Contains (Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty property);
abstract member Contains : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty -> bool
override this.Contains : Microsoft.SqlServer.Management.Sdk.Sfc.ISfcProperty -> bool
Public Function Contains (property As ISfcProperty) As Boolean

Parameters

property
ISfcProperty

The property of the metadata and value.

Returns

True if property metadata and value exist; otherwise, false.

Implements

Applies to

Contains(String)

Checks if the property with specified name exists. This class cannot be inherited.

public:
 virtual bool Contains(System::String ^ propertyName);
public bool Contains (string propertyName);
abstract member Contains : string -> bool
override this.Contains : string -> bool
Public Function Contains (propertyName As String) As Boolean

Parameters

propertyName
String

A string that represents the name of the property.

Returns

true if the property name exists; otherwise, false.

Implements

Applies to

Contains<T>(String)

Indicates whether the property with the specified name exists.

public:
generic <typename T>
 virtual bool Contains(System::String ^ name);
public bool Contains<T> (string name);
abstract member Contains : string -> bool
override this.Contains : string -> bool
Public Function Contains(Of T) (name As String) As Boolean

Type Parameters

T

The type of the specified property.

Parameters

name
String

A string that represents a name.

Returns

true if the property name exists; otherwise, false.

Implements

Applies to