DatabaseRole.AddMember Method (String)

 

Adds an existing database user or database role to the database role.

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

public void AddMember(
	string name
)

Parameters

name
Type: System.String

A String value that specifies the database user or role to be added to the referenced role.

Return to top
Show: