Método AddMember
Adds a login to the fixed server role membership.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub AddMember ( _
loginname As String _
)
'Uso
Dim instance As ServerRole
Dim loginname As String
instance.AddMember(loginname)
public void AddMember(
string loginname
)
public:
void AddMember(
String^ loginname
)
member AddMember :
loginname:string -> unit
public function AddMember(
loginname : String
)
Parâmetros
- loginname
Tipo: System. . :: . .String
A String value that specifies the login that is to be added to the fixed server role membership.
Consulte também