- command
- The DbCommand to be initialized.
- userName
- The user name to be checked if it is an administrator.
Visual Basic (Declaration) | |
---|---|
Overrides Protected Sub InitializeIsAdminCommand( _ ByVal command As DbCommand, _ ByVal userName As String _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- command
- The DbCommand to be initialized.
- userName
- The user name to be checked if it is an administrator.
Override this method to provide the database specific behavior for checking if a user is an administrator.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family