- command
- The DbCommand to be initialized.
- userName
- The user name to be updated.
- isAdmin
- A Boolean value indicating the value to be updated for the user.
Visual Basic (Declaration) | |
---|---|
Overrides Protected Sub InitializeSetAdminUserCommand( _ ByVal command As DbCommand, _ ByVal userName As String, _ ByVal isAdmin As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
protected override void InitializeSetAdminUserCommand( DbCommand command, string userName, bool isAdmin ) |
C++/CLI | |
---|---|
protected: void InitializeSetAdminUserCommand( DbCommand command, String^ userName, bool isAdmin ) override |
Parameters
Override this method to provide the database specific behavior for updating the administration state for a user.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family