Freigeben über


DatabaseRole-Konstruktor

Initializes a new instance of the DatabaseRole class.

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

Syntax

'Declaration
Public Sub New
'Usage
Dim instance As New DatabaseRole()
public DatabaseRole()
public:
DatabaseRole()
new : unit -> DatabaseRole
public function DatabaseRole()

Hinweise

The default constructor initializes any fields to their default values.

Beispiele

Verwalten von Benutzern, Rollen und Anmeldungen

Siehe auch

Verweis

DatabaseRole Klasse

DatabaseRole-Überladung

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Rollen auf Datenbankebene

CREATE ROLE (Transact-SQL)