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)