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
- user
Type: Microsoft.SqlServer.Management.Smo.User
User
See Also