Compartir a través de


Certificate Miembros

The Certificate object represents a SQL Server certificate.

El tipo Certificate expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico Certificate() () () () Initializes a new instance of the Certificate class.
Método publico Certificate(Database, String) Initializes a new instance of the Certificate class on the specified server and that has the specified name.

Principio

Métodos

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

Principio

Campos

  Nombre Descripción
Campo protegido m_ExtendedProperties (Se hereda de SqlSmoObject).

Principio

Propiedades

  Nombre Descripción
Propiedad pública ActiveForServiceBrokerDialog Gets or sets the Boolean property that specifies whether the certificate is active for use in the BEGIN DIALOG statement for Service Broker purposes.
Propiedad pública Events Gets the events that are associated with the certificate.
Propiedad protegida ExecuteForScalar Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Se hereda de SqlSmoObject).
Propiedad pública ExpirationDate Gets or sets the date and time at which the certificate expires.
Propiedad pública ID Gets the ID value that uniquely identifies the certificate.
Propiedad pública Issuer Gets the issuer of the certificate.
Propiedad protegida IsTouched Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Se hereda de SqlSmoObject).
Propiedad pública LastBackupDate Gets or sets the date and time at which the certificate was last backed up.
Propiedad pública Name Gets or sets the name of the object. (Se hereda de NamedSmoObject).
Propiedad protegida 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. (Se hereda de SqlSmoObject).
Propiedad pública Owner Gets or sets the name of the database principal that is the owner of the certificate.
Propiedad pública Parent Gets or sets the Server object that owns the Certificate object.
Propiedad pública PrivateKeyEncryptionType Gets the encryption type of the private key for the certificate.
Propiedad pública Properties Gets a collection of Property objects that represent the object properties. (Se hereda de SqlSmoObject).
Propiedad protegida ScalarResult Gets the scalar result for the referenced object. (Se hereda de SqlSmoObject).
Propiedad pública Serial Gets the serial number of the certificate.
Propiedad pública Sid Gets the logon security identifier (SID) for the certificate.
Propiedad pública StartDate Gets or sets the date and time from which the certificate is effective.
Propiedad pública State Gets the state of the referenced object. (Se hereda de SmoObjectBase).
Propiedad pública Subject Gets or sets the subject of the certificate.
Propiedad pública Thumbprint Gets the globally unique SHA-1 hash thumbprint for the certificate.
Propiedad pública Urn Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Se hereda de SqlSmoObject).
Propiedad pública UserData Gets or sets user-defined data associated with the referenced object. (Se hereda de SmoObjectBase).

Principio

Eventos

  Nombre Descripción
Evento público PropertyChanged (Se hereda de SqlSmoObject).
Evento público PropertyMetadataChanged (Se hereda de SqlSmoObject).

Principio

Implementaciones de interfaces explícitas

  Nombre Descripción
Implementación de interfaces explícitasMétodo privado IAlienObjectDiscover (Se hereda de SqlSmoObject).
Implementación de interfaces explícitasMétodo privado IAlienObjectGetParent (Se hereda de SqlSmoObject).
Implementación de interfaces explícitasMétodo privado IAlienObjectGetProperty (Se hereda de SqlSmoObject).
Implementación de interfaces explícitasMétodo privado ISfcPropertyProviderGetPropertySet (Se hereda de SqlSmoObject).
Implementación de interfaces explícitasMétodo privado IAlienObjectGetUrn (Se hereda de SqlSmoObject).
Implementación de interfaces explícitasMétodo privado IAlienObjectResolve (Se hereda de SqlSmoObject).
Implementación de interfaces explícitasMétodo privado IAlienObjectSetProperty (Se hereda de SqlSmoObject).

Principio