Partager via


ScopeDisplayGroupCollection.Create, méthode (Microsoft.Office.Server.Search.Administration)

Creates a display group in the collection.

Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans microsoft.office.server.search.dll)

Syntaxe

'Déclaration
Public Function Create ( _
    name As String, _
    description As String, _
    owningSiteUrl As Uri, _
    displayInAdminUI As Boolean _
) As ScopeDisplayGroup
'Utilisation
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
)

Paramètres

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

Valeur de retour

A ScopeDisplayGroup object.

Voir aussi

Référence

ScopeDisplayGroupCollection, classe
Membres ScopeDisplayGroupCollection
Microsoft.Office.Server.Search.Administration, espace de noms