ScopeDisplayGroupCollection.Create Method

Creates a display group in the collection.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)


Public Function Create ( _
    name As String, _
    description As String, _
    owningSiteUrl As Uri, _
    displayInAdminUI As Boolean _
) As ScopeDisplayGroup
Dim instance As ScopeDisplayGroupCollection
Dim name As String
Dim description As String
Dim owningSiteUrl As Uri
Dim displayInAdminUI As Boolean
Dim returnValue As ScopeDisplayGroup

returnValue = instance.Create(name, description, _
    owningSiteUrl, displayInAdminUI)
public ScopeDisplayGroup Create(
    string name,
    string description,
    Uri owningSiteUrl,
    bool displayInAdminUI


  • name
    Type: System.String
    A string specifying the display group name.
  • description
    Type: System.String
    A string specifying the display group description.
  • owningSiteUrl
    Type: System.Uri
    A System.Uri object that contains the URL of the site that owns the display group.
  • displayInAdminUI
    Type: System.Boolean
    true if the display group is displayed; otherwise, false.

Return Value

Type: Microsoft.Office.Server.Search.Administration.ScopeDisplayGroup
A ScopeDisplayGroup object.

See Also


ScopeDisplayGroupCollection Class

ScopeDisplayGroupCollection Members

Microsoft.Office.Server.Search.Administration Namespace