MasterKey 成員
The MasterKey object represents a SQL Server database master key.
MasterKey 型別公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
![]() |
MasterKey() () () () | Initializes a new instance of the MasterKey class. |
![]() |
MasterKey(Database) | Initializes a new instance of the MasterKey class on the specified database. |
頂端
方法
名稱 | 描述 | |
---|---|---|
![]() |
AddDatabaseContext | (繼承自 SqlSmoObject。) |
![]() |
AddPasswordEncryption | Adds password encryption to the master key. |
![]() |
AddServiceKeyEncryption | Adds service key encryption to the master key. |
![]() |
AlterImpl | (繼承自 SqlSmoObject。) |
![]() |
AlterImplFinish | (繼承自 SqlSmoObject。) |
![]() |
AlterImplInit | (繼承自 SqlSmoObject。) |
![]() |
AlterImplWorker | (繼承自 SqlSmoObject。) |
![]() |
BindDefaultImpl | (繼承自 SqlSmoObject。) |
![]() |
BindRuleImpl | (繼承自 SqlSmoObject。) |
![]() |
CheckCollation | (繼承自 SqlSmoObject。) |
![]() |
CheckObjectState() () () () | Validates the state of the referenced object. (繼承自 SqlSmoObject。) |
![]() |
CheckObjectState(Boolean) | Validates the state of the referenced object with the option to specify that an exception is thrown if the object is not yet created. (繼承自 SqlSmoObject。) |
![]() |
CheckObjectStateImpl | (繼承自 SqlSmoObject。) |
![]() |
CheckVersion100 | (繼承自 SqlSmoObject。) |
![]() |
CheckVersion80 | Checks the validity of the object on SQL Server 2000. (繼承自 SqlSmoObject。) |
![]() |
CheckVersion80SP3 | Checks the validity of the object on SQL Server 2000 SP3. (繼承自 SqlSmoObject。) |
![]() |
CheckVersion90 | Check the validity of the object on SQL Server 2005. (繼承自 SqlSmoObject。) |
![]() |
CheckVersionBelow90 | (繼承自 SqlSmoObject。) |
![]() |
CleanObject | (繼承自 SqlSmoObject。) |
![]() |
Close | Closes the master key. |
![]() |
Create(String) | Creates a master key that has the specified password. |
![]() |
Create(String, String, String) | Creates a master key from the specified file and that has the specified encryption and decryption passwords. |
![]() |
CreateImpl | (繼承自 SqlSmoObject。) |
![]() |
CreateImplFinish | (繼承自 SqlSmoObject。) |
![]() |
CreateImplInit | (繼承自 SqlSmoObject。) |
![]() |
Discover | (繼承自 SqlSmoObject。) |
![]() |
Drop | Removes the master key from the database. |
![]() |
DropImpl | (繼承自 SqlSmoObject。) |
![]() |
DropImplWorker | (繼承自 SqlSmoObject。) |
![]() |
DropPasswordEncryption | Removes the password encryption from the master key by using the associated password. |
![]() |
DropServiceKeyEncryption | Drops service key encryption from the master key. |
![]() |
EnumKeyEncryptions | Enumerates a list of the current set of key encryptions for the database master key. |
![]() |
EnumScriptImpl | (繼承自 SqlSmoObject。) |
![]() |
EnumScriptImplWorker | (繼承自 SqlSmoObject。) |
![]() |
Equals | (繼承自 Object。) |
![]() |
Export | Saves the database master key to the specified system path location by using the specified password. |
![]() |
Finalize | (繼承自 Object。) |
![]() |
FormatSqlVariant | (繼承自 SqlSmoObject。) |
![]() |
GenerateDataSpaceFileStreamScript | (繼承自 SqlSmoObject。) |
![]() |
GenerateDataSpaceScript | (繼承自 SqlSmoObject。) |
![]() |
GetBindDefaultScript | (繼承自 SqlSmoObject。) |
![]() |
GetBindRuleScript | (繼承自 SqlSmoObject。) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (繼承自 SqlSmoObject。) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (繼承自 SqlSmoObject。) |
![]() |
GetDateTimeParameter | (繼承自 SqlSmoObject。) |
![]() |
GetDateTimeParameterAsInt | (繼承自 SqlSmoObject。) |
![]() |
GetDBName | Gets the database name that is associated with the object. (繼承自 SqlSmoObject。) |
![]() |
GetEnumParameter | (繼承自 SqlSmoObject。) |
![]() |
GetFragOptionString | (繼承自 SqlSmoObject。) |
![]() |
GetGuidParameter | (繼承自 SqlSmoObject。) |
![]() |
GetHashCode | (繼承自 Object。) |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (繼承自 SqlSmoObject。) |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (繼承自 SqlSmoObject。) |
![]() |
GetPropValue | (繼承自 SqlSmoObject。) |
![]() |
GetPropValueOptional | (繼承自 SqlSmoObject。) |
![]() |
GetPropValueOptionalAllowNull | (繼承自 SqlSmoObject。) |
![]() |
GetRealValue | (繼承自 SqlSmoObject。) |
![]() |
GetScriptingOptionsForCreate | (繼承自 SqlSmoObject。) |
![]() |
GetServerName | Gets the name of the instance of SQL Server with which the object is associated. (繼承自 SqlSmoObject。) |
![]() |
GetServerObject | (繼承自 SqlSmoObject。) |
![]() |
GetSqlServerVersionName | Gets the version name of the instance of SQL Server with which the object is associated. (繼承自 SqlSmoObject。) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (繼承自 SqlSmoObject。) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (繼承自 SqlSmoObject。) |
![]() |
GetTimeSpanParameterAsInt | (繼承自 SqlSmoObject。) |
![]() |
GetType | (繼承自 Object。) |
![]() |
GetUrnRecursive(StringBuilder) | (繼承自 SqlSmoObject。) |
![]() |
GetUrnRecursive(StringBuilder, UrnIdOption) | (繼承自 SqlSmoObject。) |
![]() |
ImplInitialize | (繼承自 SqlSmoObject。) |
![]() |
Import(String, String, String) | Loads the database master key from the file that is located at the specified system path by using the specified passwords to decrypt and encrypt the master key. |
![]() |
Import(String, String, String, Boolean) | Loads the database master key from the file that is located at the specified system path by using the specified passwords to decrypt and encrypt the master key, and with the option to force regeneration. |
![]() |
Initialize() () () () | Initializes the object and forces the properties be loaded. (繼承自 SqlSmoObject。) |
![]() |
Initialize(Boolean) | Initializes the object and forces the properties be loaded. (繼承自 SqlSmoObject。) |
![]() |
IsObjectDirty | Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server. (繼承自 SqlSmoObject。) |
![]() |
IsObjectInitialized | Verifies whether the object has been initialized. (繼承自 SqlSmoObject。) |
![]() |
IsObjectInSpace | Verifies whether the object is isolated or connected to the instance of SQL Server. (繼承自 SqlSmoObject。) |
![]() |
IsVersion80SP3 | (繼承自 SqlSmoObject。) |
![]() |
MarkDropped | (繼承自 SqlSmoObject。) |
![]() |
MarkForDropImpl | (繼承自 SqlSmoObject。) |
![]() |
MemberwiseClone | (繼承自 Object。) |
![]() |
Open | Opens the database master key by using the specified password. |
![]() |
PostAlter | (繼承自 SqlSmoObject。) |
![]() |
PostCreate | (繼承自 SqlSmoObject。) |
![]() |
PostDrop | (繼承自 SqlSmoObject。) |
![]() |
Refresh | Refreshes the object and retrieves properties when the object is next accessed. (繼承自 SqlSmoObject。) |
![]() |
Regenerate(String) | Regenerates the database master key by using the specified new password. |
![]() |
Regenerate(String, Boolean) | Regenerates the database master key by using the specified new password, and with the option to force the regeneration, thus removing all items that cannot be successfully decrypted. |
![]() |
ScriptAlter | (繼承自 SqlSmoObject。) |
![]() |
ScriptCreate | (繼承自 SqlSmoObject。) |
![]() |
ScriptDdl | (繼承自 SqlSmoObject。) |
![]() |
ScriptDrop | (繼承自 SqlSmoObject。) |
![]() |
ScriptImpl() () () () | (繼承自 SqlSmoObject。) |
![]() |
ScriptImpl(ScriptingOptions) | (繼承自 SqlSmoObject。) |
![]() |
ScriptImplWorker | (繼承自 SqlSmoObject。) |
![]() |
SetParentImpl | (繼承自 SqlSmoObject。) |
![]() |
ToString | Returns a String that represents the referenced object. (繼承自 SqlSmoObject。) |
![]() |
TouchImpl | (繼承自 SqlSmoObject。) |
![]() |
UnbindDefaultImpl | (繼承自 SqlSmoObject。) |
![]() |
UnbindRuleImpl | (繼承自 SqlSmoObject。) |
![]() |
Validate | (繼承自 SmoObjectBase。) |
頂端
屬性
名稱 | 描述 | |
---|---|---|
![]() |
CreateDate | Gets the date and time when the master key was created. |
![]() |
DateLastModified | Gets the date and time when the master key was last modified. |
![]() |
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (繼承自 SqlSmoObject。) |
![]() |
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. |
![]() |
IsOpen | Gets the Boolean property value that specifies whether the database master key is open. |
![]() |
IsTouched | Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (繼承自 SqlSmoObject。) |
![]() |
ObjectInSpace | Gets the Boolean property value that specifies whether the object exists in isolation, or whether it is directly or indirectly connected to the instance of SQL Server. (繼承自 SqlSmoObject。) |
![]() |
Parent | Gets the Database object that is the parent of the MasterKey object. |
![]() |
Properties | Gets a collection of Property objects that represent the object properties. (繼承自 SqlSmoObject。) |
![]() |
ScalarResult | Gets the scalar result for the referenced object. (繼承自 SqlSmoObject。) |
![]() |
State | Gets the state of the referenced object. (繼承自 SmoObjectBase。) |
![]() |
Urn | Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (繼承自 SqlSmoObject。) |
![]() |
UserData | Gets or sets user-defined data associated with the referenced object. (繼承自 SmoObjectBase。) |
頂端
明確繼承實作
名稱 | 描述 | |
---|---|---|
![]() ![]() |
IAlienObjectDiscover | (繼承自 SqlSmoObject。) |
![]() ![]() |
IAlienObjectGetParent | (繼承自 SqlSmoObject。) |
![]() ![]() |
IAlienObjectGetProperty | (繼承自 SqlSmoObject。) |
![]() ![]() |
ISfcPropertyProviderGetPropertySet | (繼承自 SqlSmoObject。) |
![]() ![]() |
IAlienObjectGetUrn | (繼承自 SqlSmoObject。) |
![]() ![]() |
IAlienObjectResolve | (繼承自 SqlSmoObject。) |
![]() ![]() |
IAlienObjectSetProperty | (繼承自 SqlSmoObject。) |
頂端