Share via


ServerPropertyCollection.Find Method

Gets the ServerProperty that has the specified name from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Find ( _
    name As String _
) As ServerProperty
'Usage
Dim instance As ServerPropertyCollection
Dim name As String
Dim returnValue As ServerProperty

returnValue = instance.Find(name)
public ServerProperty Find(
    string name
)
public:
ServerProperty^ Find(
    String^ name
)
member Find : 
        name:string -> ServerProperty 
public function Find(
    name : String
) : ServerProperty

Parameters

Return Value

Type: Microsoft.AnalysisServices.ServerProperty
The ServerProperty if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).