ServerPropertyCollection.Contains Method (String)
Applies To: SQL Server (starting with 2016)
Indicates whether the collection contains a ServerProperty that has the specified name.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
public bool Contains(
string name
)
public:
bool Contains(
String^ name
)
member Contains :
name:string -> bool
Public Function Contains (
name As String
) As Boolean
Parameters
name
Type: System.StringThe name of the ServerProperty to locate.
Return Value
Type: System.Boolean
true if the ServerProperty exists in the collection; otherwise, false.
See Also
Contains Overload
ServerPropertyCollection Class
Microsoft.AnalysisServices Namespace
Return to top