Share via


DetailColumn.Add Method (String)

 

Initializes a DetailGroup object with the specified display name and adds the group to the DetailColumn.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Syntax

public DetailGroup Add(
    string groupDisplayName
)
public:
DetailGroup^ Add(
    String^ groupDisplayName
)
Public Function Add (
    groupDisplayName As String
) As DetailGroup

Parameters

Return Value

Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.DetailGroup

An instance of DetailGroup.

Examples

The following code example shows how to initialize a DetailColumn object that initializes a DetailGroup with the specified display name:

DetailColumn column = new DetailColumn();
DetailGroup group = null;
group = column.Add(“Computer Name”);

See Also

Add Overload
DetailColumn Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top