Share via


UserCollection.Add Method

Adds a user to the collection.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub Add ( _
    user As User _
)
'Usage
Dim instance As UserCollection 
Dim user As User

instance.Add(user)
public void Add(
    User user
)
public:
void Add(
    User^ user
)
member Add : 
        user:User -> unit
public function Add(
    user : User
)

Parameters

Examples

Using Collections

See Also

Reference

UserCollection Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Using Collections