AsymmetricKey Members
The AsymmetricKey object represents a SQL Server asymmetric key.
The following tables list the members exposed by the AsymmetricKey type.
Public Constructors
Имя | Description | |
---|---|---|
AsymmetricKey | Overloaded. Initializes a new instance of the AsymmetricKey class. |
В начало
Protected Fields
Имя | Description | |
---|---|---|
m_ExtendedProperties | (inherited from SqlSmoObject ) |
В начало
Public Properties
(see also Protected Properties )
Имя | Description | |
---|---|---|
ID | Gets the ID value that uniquely identifies the asymmetric key. | |
KeyEncryptionAlgorithm | Gets the encryption algorithm used to encrypt the asymmetric key. | |
KeyLength | Gets the length of the asymmetric key. | |
Name | Gets or sets the name of the object. (inherited from NamedSmoObject) | |
Owner | Gets or sets the name of the database principal that is the owner of the asymmetric key. | |
Parent | Gets the Database object that is the parent of the AsymmetricKey object. | |
PrivateKeyEncryptionType | Gets the encryption type for the private key for the asymmetric key. | |
Properties | Gets a collection of Property objects that represent the object properties. (inherited from SqlSmoObject) | |
PublicKey | Gets the public key for the asymmetric key. | |
Sid | Gets the logon security identifier (SID) for the asymmetric key. | |
State | Gets the state of the referenced object. (inherited from SmoObjectBase) | |
Thumbprint | Gets the globally unique SHA-1 hash thumbprint for the asymmetric key. | |
Urn | Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (inherited from SqlSmoObject) | |
UserData | Gets or sets user-defined data associated with the referenced object. (inherited from SmoObjectBase) |
В начало
Protected Properties
Имя | Description | |
---|---|---|
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (inherited from SqlSmoObject) | |
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) | |
PresetProperties | Gets or sets the preset properties of the referenced object. (inherited from SqlSmoObject) | |
ScalarResult | Gets the scalar result for the referenced object. (inherited from SqlSmoObject) |
В начало
Public Methods
(see also Protected Methods )
Имя | Description | |
---|---|---|
AddPrivateKey | Adds a private key to the asymmetric key with the specified password. | |
Alter | Updates any AsymmetricKey object property changes on the instance of SQL Server. | |
ChangePrivateKeyPassword | Modifies the private key password that is used to secure the private key for the asymmetric key. | |
Create | Overloaded. Creates an asymmetric key based on an asymmetric key encryption algorithm or based on an asymmetric key source type. | |
Deny | Overloaded. Denies the specified set of permissions for the specified grantees on the asymmetric key. | |
Drop | Removes the asymmetric key from the instance of SQL Server. | |
EnumObjectPermissions | Overloaded. Enumerates a list of object permissions for the asymmetric key. | |
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
Grant | Overloaded. Grants the specified set of permissions to the specified grantees on the asymmetric key. | |
Initialize | Overloaded. Initializes the object and forces the properties be loaded. (inherited from SqlSmoObject) | |
ReferenceEquals | (inherited from Object ) | |
Refresh | Refreshes the object and retrieves properties when the object is next accessed. (inherited from SqlSmoObject) | |
RemovePrivateKey | Removes the private key from the asymmetric key. | |
Revoke | Overloaded. Revokes a previously granted set of permissions from a grantee or grantees on the asymmetric key. | |
ToString | Returns a String that represents the referenced object. (inherited from SqlSmoObject) |
В начало
Protected Methods
Имя | Description | |
---|---|---|
AlterImpl | (inherited from SqlSmoObject ) | |
AlterImplFinish | (inherited from SqlSmoObject ) | |
AlterImplInit | (inherited from SqlSmoObject ) | |
AlterImplWorker | (inherited from SqlSmoObject ) | |
BindDefaultImpl | (inherited from SqlSmoObject ) | |
BindRuleImpl | (inherited from SqlSmoObject ) | |
CheckCollation | (inherited from SqlSmoObject ) | |
CheckObjectState | Overloaded. Validates the state of the referenced object. (inherited from SqlSmoObject) | |
CheckObjectStateImpl | (inherited from SqlSmoObject ) | |
CheckVersion80 | Checks the validity of the object on Microsoft SQL Server 2000. (inherited from SqlSmoObject) | |
CheckVersion80SP3 | Checks the validity of the object on Microsoft SQL Server 2000 SP3. (inherited from SqlSmoObject) | |
CheckVersion90 | Check the validity of the object on Microsoft SQL Server 2005. (inherited from SqlSmoObject) | |
CheckVersionBelow90 | (inherited from SqlSmoObject ) | |
CleanObject | (inherited from SqlSmoObject ) | |
CreateImpl | (inherited from SqlSmoObject ) | |
CreateImplFinish | (inherited from SqlSmoObject ) | |
CreateImplInit | (inherited from SqlSmoObject ) | |
DropImpl | (inherited from SqlSmoObject ) | |
DropImplWorker | (inherited from SqlSmoObject ) | |
Finalize | (inherited from Object ) | |
FormatSqlVariant | (inherited from SqlSmoObject ) | |
GenerateDataSpaceScript | (inherited from SqlSmoObject ) | |
GetBindDefaultScript | (inherited from SqlSmoObject ) | |
GetBindRuleScript | (inherited from SqlSmoObject ) | |
GetBoolParameter | Overloaded. (inherited from SqlSmoObject ) | |
GetDateTimeParameter | (inherited from SqlSmoObject ) | |
GetDateTimeParameterAsInt | (inherited from SqlSmoObject ) | |
GetDBName | Gets the database name associated with the object. (inherited from SqlSmoObject) | |
GetEnumParameter | (inherited from SqlSmoObject ) | |
GetFragOptionString | (inherited from SqlSmoObject ) | |
GetGuidParameter | (inherited from SqlSmoObject ) | |
GetParameter | Overloaded. (inherited from SqlSmoObject ) | |
GetPropValue | (inherited from SqlSmoObject ) | |
GetPropValueOptional | (inherited from SqlSmoObject ) | |
GetPropValueOptionalAllowNull | (inherited from SqlSmoObject ) | |
GetRealValue | (inherited from SqlSmoObject ) | |
GetScriptingOptionsForCreate | (inherited from SqlSmoObject ) | |
GetServerName | Gets the name of the instance of Microsoft SQL Server with which the object is associated. (inherited from SqlSmoObject) | |
GetSqlServerVersionName | Gets the version name of the instance of Microsoft SQL Server with which the object is associated. (inherited from SqlSmoObject) | |
GetStringParameter | Overloaded. (inherited from SqlSmoObject ) | |
GetTimeSpanParameterAsInt | (inherited from SqlSmoObject ) | |
GetUrnRecursive | Overloaded. (inherited from SqlSmoObject ) | |
ImplInitialize | (inherited from SqlSmoObject ) | |
IsCollectionDirty | (inherited from SqlSmoObject ) | |
IsObjectDirty | Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of Microsoft SQL Server. (inherited from SqlSmoObject) | |
IsObjectInitialized | Verifies whether the object has been initialized. (inherited from SqlSmoObject) | |
IsObjectInSpace | Verifies whether the object is isolated or connected to the instance of Microsoft SQL Server. (inherited from SqlSmoObject) | |
IsVersion80SP3 | (inherited from SqlSmoObject ) | |
MarkDropped | (inherited from SqlSmoObject ) | |
MarkForDropImpl | (inherited from SqlSmoObject ) | |
MemberwiseClone | (inherited from Object ) | |
PostAlter | (inherited from SqlSmoObject ) | |
PostCreate | (inherited from SqlSmoObject ) | |
PostDrop | (inherited from SqlSmoObject ) | |
RenameImpl | (inherited from NamedSmoObject ) | |
RenameImplWorker | (inherited from NamedSmoObject ) | |
ScriptAlter | (inherited from SqlSmoObject ) | |
ScriptChangeOwner | (inherited from NamedSmoObject ) | |
ScriptCreate | (inherited from SqlSmoObject ) | |
ScriptDdl | (inherited from SqlSmoObject ) | |
ScriptDrop | (inherited from SqlSmoObject ) | |
ScriptImpl | Overloaded. (inherited from SqlSmoObject ) | |
ScriptImplWorker | (inherited from SqlSmoObject ) | |
ScriptRename | (inherited from NamedSmoObject ) | |
SetParentImpl | (inherited from SqlSmoObject ) | |
Trace | (inherited from SqlSmoObject ) | |
UnbindDefaultImpl | (inherited from SqlSmoObject ) | |
UnbindRuleImpl | (inherited from SqlSmoObject ) | |
UpdateCollectionState2 | (inherited from SqlSmoObject ) |
В начало
См. также
Справочник
AsymmetricKey Class
Microsoft.SqlServer.Management.Smo Namespace
Другие ресурсы
Using Encryption
Иерархия средств шифрования
CREATE ASYMMETRIC KEY (Transact-SQL)