Export (0) Print
Expand All

User Constructor

 

Applies To: SQL Server 2016 Preview

Initializes a new instance of the User class.

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

NameDescription
System_CAPS_pubmethodUser()

Initializes a new instance of the User class.

System_CAPS_pubmethodUser(Database, String)

Initializes a new instance of the User class on the specified database with the specified name.

Return to top

User Constructor ()

Initializes a new instance of the User class.

public User()

The default constructor initializes any fields to their default values.

Return to top

User Constructor (Database, String)

Initializes a new instance of the User class on the specified database with the specified name.

public User(
	Database database,
	string name
)

Parameters

database
Type: Microsoft.SqlServer.Management.Smo.Database

A Database object that specifies the database to which the user belongs.

name
Type: System.String

A String value that specifies the name of the user.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft