Метод ISfcPropertySet.Contains (String)
Determines whether the property collection contains the property specified by the name parameter.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Private Function Contains(Of T) ( _
name As String _
) As Boolean Implements ISfcPropertySet.Contains
'Применение
Dim instance As PropertyCollection
Dim name As String
Dim returnValue As Boolean
returnValue = CType(instance, ISfcPropertySet).Contains(name)
bool ISfcPropertySet.Contains<T>(
string name
)
private:
generic<typename T>
virtual bool Contains(
String^ name
) sealed = ISfcPropertySet::Contains
private abstract Contains :
name:string -> bool
private override Contains :
name:string -> bool
JScript не поддерживает стандартные типы и методы.
Параметры типа
- T
The type of property collection.
Параметры
- name
Тип: System. . :: . .String
A string value that specifies the name of the property.
Возвращаемое значение
Тип: System. . :: . .Boolean
A Boolean value, True if the collection contains the property, otherwise False.
Реализует
ISfcPropertySet. . :: . .Contains< (Of < <' (T> ) > > )(String)