MasterKey Properties

Public Properties

(see also Protected Properties )

  Name Description
ms219870.pubproperty(en-US,SQL.90).gif CreateDate
Gets the date and time when the master key was created.
ms219870.pubproperty(en-US,SQL.90).gif DateLastModified
Gets the date and time when the master key was last modified.
ms219870.pubproperty(en-US,SQL.90).gif IsEncryptedByServer
Gets the Boolean property value that specifies whether the database master key is encrypted by using the service master key or by using a password.
ms219870.pubproperty(en-US,SQL.90).gif IsOpen
Gets the Boolean property value that specifies whether the database master key is open.
ms219870.pubproperty(en-US,SQL.90).gif Parent
Gets the Database object that is the parent of the MasterKey object.
ms219870.pubproperty(en-US,SQL.90).gif Properties 
Gets a collection of Property objects that represent the object properties.
(inherited from SqlSmoObject )
ms219870.pubproperty(en-US,SQL.90).gif State 
Gets the state of the referenced object.
(inherited from SmoObjectBase )
ms219870.pubproperty(en-US,SQL.90).gif Urn 
Gets the Uniform Resource Name (URN) address value that uniquely identifies the object.
(inherited from SqlSmoObject )
ms219870.pubproperty(en-US,SQL.90).gif UserData 
Gets or sets user-defined data associated with the referenced object.
(inherited from SmoObjectBase )

Protected Properties

  Name Description
ms219870.protproperty(en-US,SQL.90).gif ExecuteForScalar 
Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option.
(inherited from SqlSmoObject )
ms219870.protproperty(en-US,SQL.90).gif ObjectInSpace 
Gets the Boolean property value that specifies whether the object exists in isolation or whether it is connected to the instance of Microsoft SQL Server directly or indirectly.
(inherited from SqlSmoObject )
ms219870.protproperty(en-US,SQL.90).gif PresetProperties 
Gets or sets the preset properties of the referenced object.
(inherited from SqlSmoObject )
ms219870.protproperty(en-US,SQL.90).gif ScalarResult 
Gets the scalar result for the referenced object.
(inherited from SqlSmoObject )

See Also

Reference

MasterKey Class
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Encryption Hierarchy
CREATE MASTER KEY (Transact-SQL)