Método Login.Rename
Renames the login account.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub Rename ( _
newname As String _
)
'Uso
Dim instance As Login
Dim newname As String
instance.Rename(newname)
public void Rename(
string newname
)
public:
virtual void Rename(
String^ newname
) sealed
abstract Rename :
newname:string -> unit
override Rename :
newname:string -> unit
public final function Rename(
newname : String
)
Parâmetros
- newname
Tipo: System.String
A String value that specifies the new name of the login account.
Implementa
Exemplos
Gerenciando usuários, funções e logons
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo