Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MasterKey Constructor

 

Applies To: SQL Server 2016 Preview

Initializes a new instance of the MasterKey class.

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

NameDescription
System_CAPS_pubmethodMasterKey()

Initializes a new instance of the MasterKey class.

System_CAPS_pubmethodMasterKey(Database)

Initializes a new instance of the MasterKey class on the specified database.

Return to top

MasterKey Constructor ()

Initializes a new instance of the MasterKey class.

public MasterKey()

The default constructor initializes any fields to their default values.

Legacy Code Example

Return to top

MasterKey Constructor (Database)

Initializes a new instance of the MasterKey class on the specified database.

public MasterKey(
	Database parent
)

Parameters

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

A Database object value that specifies the database to which the master key belongs.

Legacy Code Example

Return to top
Show:
© 2015 Microsoft