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)
Syntax
'Declaration
Public Function Create ( _
name As String, _
description As String, _
owningSiteUrl As Uri, _
displayInAdminUI As Boolean _
) As ScopeDisplayGroup
'Usage
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
)
Parameters
name
Type: System.StringA string specifying the display group name.
description
Type: System.StringA string specifying the display group description.
owningSiteUrl
Type: System.UriA System.Uri object that contains the URL of the site that owns the display group.
displayInAdminUI
Type: System.Booleantrue if the display group is displayed; otherwise, false.
Return Value
Type: Microsoft.Office.Server.Search.Administration.ScopeDisplayGroup
A ScopeDisplayGroup object.
See Also
Reference
ScopeDisplayGroupCollection Class