Share via


AsymmetricKey-Member

The AsymmetricKey object represents a SQL Server asymmetric key.

Der AsymmetricKey-Typ macht die folgenden Member verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode AsymmetricKey() () () () Initializes a new instance of the AsymmetricKey class.
Öffentliche Methode AsymmetricKey(Database, String) Initializes a new instance of the AsymmetricKey class on the specified database.

Zum Anfang

Methoden

  Name Beschreibung
Geschützte Methode AddDatabaseContext (Geerbt von SqlSmoObject.)
Öffentliche Methode AddPrivateKey Adds a private key to the asymmetric key with the specified password.
Öffentliche Methode Alter Updates any AsymmetricKey object property changes on the instance of SQL Server.
Geschützte Methode AlterImpl (Geerbt von SqlSmoObject.)
Geschützte Methode AlterImplFinish (Geerbt von SqlSmoObject.)
Geschützte Methode AlterImplInit (Geerbt von SqlSmoObject.)
Geschützte Methode AlterImplWorker (Geerbt von SqlSmoObject.)
Geschützte Methode BindDefaultImpl (Geerbt von SqlSmoObject.)
Geschützte Methode BindRuleImpl (Geerbt von SqlSmoObject.)
Öffentliche Methode ChangePrivateKeyPassword Modifies the private key password that is used to secure the private key for the asymmetric key.
Geschützte Methode CheckCollation (Geerbt von SqlSmoObject.)
Geschützte Methode CheckObjectState() () () () Validates the state of the referenced object. (Geerbt von SqlSmoObject.)
Geschützte Methode 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. (Geerbt von SqlSmoObject.)
Geschützte Methode CheckObjectStateImpl (Geerbt von SqlSmoObject.)
Geschützte Methode CheckVersion100 (Geerbt von SqlSmoObject.)
Geschützte Methode CheckVersion80 Checks the validity of the object on SQL Server 2000. (Geerbt von SqlSmoObject.)
Geschützte Methode CheckVersion80SP3 Checks the validity of the object on SQL Server 2000 SP3. (Geerbt von SqlSmoObject.)
Geschützte Methode CheckVersion90 Check the validity of the object on SQL Server 2005. (Geerbt von SqlSmoObject.)
Geschützte Methode CheckVersionBelow90 (Geerbt von SqlSmoObject.)
Geschützte Methode CleanObject (Geerbt von SqlSmoObject.)
Öffentliche Methode Create(AsymmetricKeyEncryptionAlgorithm) Creates an asymmetric key on the instance of SQL Server with the specified encryption algorithm.
Öffentliche Methode Create(String, AsymmetricKeySourceType) Creates an asymmetric key on the instance of SQL Server by loading the asymmetric key from the specified source.
Öffentliche Methode Create(AsymmetricKeyEncryptionAlgorithm, String) Creates an asymmetric key on the instance of SQL Server with the specified encryption algorithm and the specified password.
Öffentliche Methode Create(String, AsymmetricKeySourceType, String) Creates an asymmetric key on the instance of SQL Server by loading the specified asymmetric key and by using the specified password.
Öffentliche Methode Create(String, String, CreateDispositionType, AsymmetricKeySourceType) Creates an asymmetric key on the instance of SQL Server by loading the specified asymmetric key and by using the specified password.
Geschützte Methode CreateImpl (Geerbt von SqlSmoObject.)
Geschützte Methode CreateImplFinish (Geerbt von SqlSmoObject.)
Geschützte Methode CreateImplInit (Geerbt von SqlSmoObject.)
Öffentliche Methode Deny(ObjectPermissionSet, String) Denies the specified set of permissions for the specified grantee on the asymmetric key.
Öffentliche Methode Deny(ObjectPermissionSet, array<String> [] () [] []) Denies the specified set of permissions for the specified grantees on the asymmetric key.
Öffentliche Methode Deny(ObjectPermissionSet, String, Boolean) Denies the specified set of permissions for the specified grantee and other users that the grantee granted the specified set of permissions on the asymmetric key.
Öffentliche Methode Deny(ObjectPermissionSet, array<String> [] () [] [], Boolean) Denies the specified set of permissions for the specified grantees and other users that the grantee granted the specified set of permissions on the asymmetric key.
Öffentliche Methode Discover (Geerbt von SqlSmoObject.)
Öffentliche Methode Drop() () () () Removes the asymmetric key from the instance of SQL Server.
Öffentliche Methode Drop(Boolean) Removes an Extensible Key Management (EKM) key from an EKM device.
Geschützte Methode DropImpl (Geerbt von SqlSmoObject.)
Geschützte Methode DropImplWorker (Geerbt von SqlSmoObject.)
Öffentliche Methode EnumObjectPermissions() () () () Enumerates a list of object permissions for the asymmetric key.
Öffentliche Methode EnumObjectPermissions(String) Enumerates a list of object permissions for a specified grantee on the asymmetric key.
Öffentliche Methode EnumObjectPermissions(ObjectPermissionSet) Enumerates a list of object permissions for a specified permission on the asymmetric key.
Öffentliche Methode EnumObjectPermissions(String, ObjectPermissionSet) Enumerates a list of object permissions for a specified grantee and a specified permission on the asymmetric key.
Geschützte Methode EnumScriptImpl (Geerbt von SqlSmoObject.)
Geschützte Methode EnumScriptImplWorker (Geerbt von SqlSmoObject.)
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Geschützte Methode FormatSqlVariant (Geerbt von SqlSmoObject.)
Geschützte Methode GenerateDataSpaceFileStreamScript (Geerbt von SqlSmoObject.)
Geschützte Methode GenerateDataSpaceScript (Geerbt von SqlSmoObject.)
Geschützte Methode GetBindDefaultScript (Geerbt von SqlSmoObject.)
Geschützte Methode GetBindRuleScript (Geerbt von SqlSmoObject.)
Geschützte Methode GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (Geerbt von SqlSmoObject.)
Geschützte Methode GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (Geerbt von SqlSmoObject.)
Geschützte Methode GetDateTimeParameter (Geerbt von SqlSmoObject.)
Geschützte Methode GetDateTimeParameterAsInt (Geerbt von SqlSmoObject.)
Geschützte Methode GetDBName Gets the database name that is associated with the object. (Geerbt von SqlSmoObject.)
Geschützte Methode GetEnumParameter (Geerbt von SqlSmoObject.)
Geschützte Methode GetFragOptionString (Geerbt von SqlSmoObject.)
Geschützte Methode GetGuidParameter (Geerbt von SqlSmoObject.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Geschützte Methode GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (Geerbt von SqlSmoObject.)
Geschützte Methode GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (Geerbt von SqlSmoObject.)
Geschützte Methode GetPropValue (Geerbt von SqlSmoObject.)
Geschützte Methode GetPropValueOptional (Geerbt von SqlSmoObject.)
Geschützte Methode GetPropValueOptionalAllowNull (Geerbt von SqlSmoObject.)
Geschützte Methode GetRealValue (Geerbt von SqlSmoObject.)
Geschützte Methode GetScriptingOptionsForCreate (Geerbt von SqlSmoObject.)
Geschützte Methode GetServerName Gets the name of the instance of SQL Server with which the object is associated. (Geerbt von SqlSmoObject.)
Geschützte Methode GetServerObject (Geerbt von SqlSmoObject.)
Geschützte Methode GetSqlServerVersionName Gets the version name of the instance of SQL Server with which the object is associated. (Geerbt von SqlSmoObject.)
Geschützte Methode GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) (Geerbt von SqlSmoObject.)
Geschützte Methode GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) (Geerbt von SqlSmoObject.)
Geschützte Methode GetTimeSpanParameterAsInt (Geerbt von SqlSmoObject.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode GetUrnRecursive(StringBuilder) (Geerbt von SqlSmoObject.)
Geschützte Methode GetUrnRecursive(StringBuilder, UrnIdOption) (Geerbt von SqlSmoObject.)
Öffentliche Methode Grant(ObjectPermissionSet, String) Grants the specified set of permissions to a grantee on the asymmetric key.
Öffentliche Methode Grant(ObjectPermissionSet, array<String> [] () [] []) Grants the specified set of permissions to the specified grantees on the asymmetric key.
Öffentliche Methode Grant(ObjectPermissionSet, String, Boolean) Grants access to the specified permission to the grantee and the ability to grant access to other users on the asymmetric key.
Öffentliche Methode Grant(ObjectPermissionSet, array<String> [] () [] [], Boolean) Grants access to the specified permission to the grantees and the ability to grant access to other users on the asymmetric key.
Öffentliche Methode Grant(ObjectPermissionSet, String, Boolean, String) Grants the specified set of permissions to the grantee and the ability to grant the set of permissions to other users on the asymmetric key under an assumed role.
Öffentliche Methode Grant(ObjectPermissionSet, array<String> [] () [] [], Boolean, String) Grants the specified set of permissions to the grantees and the ability to grant the set of permissions to other users on the asymmetric key under an assumed role.
Geschützte Methode ImplInitialize (Geerbt von SqlSmoObject.)
Öffentliche Methode Initialize() () () () Initializes the object and forces the properties be loaded. (Geerbt von SqlSmoObject.)
Öffentliche Methode Initialize(Boolean) Initializes the object and forces the properties be loaded. (Geerbt von SqlSmoObject.)
Geschützte Methode IsObjectDirty Verifies whether the object properties have been modified and the changes have not yet been persisted on the instance of SQL Server. (Geerbt von SqlSmoObject.)
Geschützte Methode IsObjectInitialized Verifies whether the object has been initialized. (Geerbt von SqlSmoObject.)
Geschützte Methode IsObjectInSpace Verifies whether the object is isolated or connected to the instance of SQL Server. (Geerbt von SqlSmoObject.)
Geschützte Methode IsVersion80SP3 (Geerbt von SqlSmoObject.)
Geschützte Methode MarkDropped (Geerbt von SqlSmoObject.)
Geschützte Methode MarkForDropImpl (Geerbt von SqlSmoObject.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode PostAlter (Geerbt von SqlSmoObject.)
Geschützte Methode PostCreate (Geerbt von SqlSmoObject.)
Geschützte Methode PostDrop (Geerbt von SqlSmoObject.)
Öffentliche Methode Refresh Refreshes the object and retrieves properties when the object is next accessed. (Geerbt von SqlSmoObject.)
Öffentliche Methode RemovePrivateKey Removes the private key from the asymmetric key.
Geschützte Methode RenameImpl This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.)
Geschützte Methode RenameImplWorker This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.)
Öffentliche Methode Revoke(ObjectPermissionSet, String) Revokes a previously granted set of permissions for a grantee on the asymmetric key.
Öffentliche Methode Revoke(ObjectPermissionSet, array<String> [] () [] []) Revokes a previously granted set of permissions for a list of grantees on the asymmetric key.
Öffentliche Methode Revoke(ObjectPermissionSet, String, Boolean, Boolean) Revokes previously granted permissions for a grantee on the asymmetric key and any other users to whom the grantee has granted the specified set of permissions. The grantee is also given the ability to revoke the specified set of permissions from other users under an assumed role.
Öffentliche Methode Revoke(ObjectPermissionSet, array<String> [] () [] [], Boolean, Boolean) Revokes previously granted permissions for grantees on the asymmetric key and any other users to whom the grantees have granted the specified set of permissions. The grantees are also given the ability to revoke the specified set of permissions from other users under an assumed role.
Öffentliche Methode Revoke(ObjectPermissionSet, String, Boolean, Boolean, String) Revokes previously granted permissions for a grantee on the asymmetric key and any other users to whom the grantee has granted the specified set of permissions. The grantee is also given the ability to revoke the specified set of permissions from other users under an assumed role.
Öffentliche Methode Revoke(ObjectPermissionSet, array<String> [] () [] [], Boolean, Boolean, String) Revokes previously granted permissions for grantees on the asymmetric key and any other users to whom the grantees have granted the specified set of permissions. The grantees are also given the ability to revoke the specified set of permissions from other users under an assumed role.
Geschützte Methode ScriptAlter (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptChangeOwner This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.)
Geschützte Methode ScriptCreate (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptDdl (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptDrop (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptImpl() () () () (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptImpl(ScriptingOptions) (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptImplWorker (Geerbt von SqlSmoObject.)
Geschützte Methode ScriptRename This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.)
Geschützte Methode SetParentImpl (Geerbt von SqlSmoObject.)
Öffentliche Methode ToString Returns a String that represents the referenced object. (Geerbt von SqlSmoObject.)
Geschützte Methode TouchImpl (Geerbt von SqlSmoObject.)
Geschützte Methode UnbindDefaultImpl (Geerbt von SqlSmoObject.)
Geschützte Methode UnbindRuleImpl (Geerbt von SqlSmoObject.)
Öffentliche Methode Validate (Geerbt von SmoObjectBase.)

Zum Anfang

Felder

  Name Beschreibung
Geschütztes Feld m_ExtendedProperties (Geerbt von SqlSmoObject.)

Zum Anfang

Eigenschaften

  Name Beschreibung
Geschützte Eigenschaft ExecuteForScalar Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Geerbt von SqlSmoObject.)
Öffentliche Eigenschaft ID Gets the ID value that uniquely identifies the asymmetric key.
Geschützte Eigenschaft IsTouched Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Geerbt von SqlSmoObject.)
Öffentliche Eigenschaft KeyEncryptionAlgorithm Gets the encryption algorithm used to encrypt the asymmetric key.
Öffentliche Eigenschaft KeyLength Gets the length of the asymmetric key.
Öffentliche Eigenschaft Name Gets or sets the name of the object. (Geerbt von NamedSmoObject.)
Geschützte Eigenschaft 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. (Geerbt von SqlSmoObject.)
Öffentliche Eigenschaft Owner Gets or sets the name of the database principal that is the owner of the asymmetric key.
Öffentliche Eigenschaft Parent Gets the Database object that is the parent of the AsymmetricKey object.
Öffentliche Eigenschaft PrivateKeyEncryptionType Gets the encryption type for the private key for the asymmetric key.
Öffentliche Eigenschaft Properties Gets a collection of Property objects that represent the object properties. (Geerbt von SqlSmoObject.)
Öffentliche Eigenschaft ProviderName Gets or sets an asymmetric security key provider name.
Öffentliche Eigenschaft PublicKey Gets the public key for the asymmetric key.
Geschützte Eigenschaft ScalarResult Gets the scalar result for the referenced object. (Geerbt von SqlSmoObject.)
Öffentliche Eigenschaft Sid Gets the logon security identifier (SID) for the asymmetric key.
Öffentliche Eigenschaft State Gets the state of the referenced object. (Geerbt von SmoObjectBase.)
Öffentliche Eigenschaft Thumbprint Gets the globally unique SHA-1 hash thumbprint for the asymmetric key.
Öffentliche Eigenschaft Urn Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Geerbt von SqlSmoObject.)
Öffentliche Eigenschaft UserData Gets or sets user-defined data associated with the referenced object. (Geerbt von SmoObjectBase.)

Zum Anfang

Ereignisse

  Name Beschreibung
Öffentliches Ereignis PropertyChanged (Geerbt von SqlSmoObject.)
Öffentliches Ereignis PropertyMetadataChanged (Geerbt von SqlSmoObject.)

Zum Anfang

Explizite Schnittstellenimplementierungen 

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectDiscover (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectGetParent (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectGetProperty (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode ISfcPropertyProviderGetPropertySet (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectGetUrn (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectResolve (Geerbt von SqlSmoObject.)
Explizite SchnittstellenimplementierungPrivate Methode IAlienObjectSetProperty (Geerbt von SqlSmoObject.)

Zum Anfang