Certificate-Member
The Certificate object represents a SQL Server certificate.
Der Certificate-Typ macht die folgenden Member verfügbar.
Konstruktoren
| Name | Beschreibung | |
|---|---|---|
![]() |
Certificate() () () () | Initializes a new instance of the Certificate class. |
![]() |
Certificate(Database, String) | Initializes a new instance of the Certificate class on the specified server and that has the specified name. |
Zum Anfang
Methoden
| Name | Beschreibung | |
|---|---|---|
![]() |
AddDatabaseContext | (Geerbt von SqlSmoObject.) |
![]() |
AddPrivateKey(String, String) | Adds a private key to the certificate with the specified decryption password. |
![]() |
AddPrivateKey(String, String, String) | Adds a private key to the certificate with the specified decryption and encryption passwords. |
![]() |
Alter | Updates any Certificate object property changes on the instance of SQL Server. |
![]() |
AlterImpl | (Geerbt von SqlSmoObject.) |
![]() |
AlterImplFinish | (Geerbt von SqlSmoObject.) |
![]() |
AlterImplInit | (Geerbt von SqlSmoObject.) |
![]() |
AlterImplWorker | (Geerbt von SqlSmoObject.) |
![]() |
BindDefaultImpl | (Geerbt von SqlSmoObject.) |
![]() |
BindRuleImpl | (Geerbt von SqlSmoObject.) |
![]() |
ChangePrivateKeyPassword | Modifies the private key password that is used to secure the private key for the certificate. |
![]() |
CheckCollation | (Geerbt von SqlSmoObject.) |
![]() |
CheckObjectState() () () () | Validates the state of the referenced object. (Geerbt von 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. (Geerbt von SqlSmoObject.) |
![]() |
CheckObjectStateImpl | (Geerbt von SqlSmoObject.) |
![]() |
CheckVersion100 | (Geerbt von SqlSmoObject.) |
![]() |
CheckVersion80 | Checks the validity of the object on SQL Server 2000. (Geerbt von SqlSmoObject.) |
![]() |
CheckVersion80SP3 | Checks the validity of the object on SQL Server 2000 SP3. (Geerbt von SqlSmoObject.) |
![]() |
CheckVersion90 | Check the validity of the object on SQL Server 2005. (Geerbt von SqlSmoObject.) |
![]() |
CheckVersionBelow90 | (Geerbt von SqlSmoObject.) |
![]() |
CleanObject | (Geerbt von SqlSmoObject.) |
![]() |
Create() () () () | Creates a certificate on the database. |
![]() |
Create(String) | Creates a certificate based on a certificate encryption algorithm or based on a certificate source type. |
![]() |
Create(String, CertificateSourceType) | Creates a certificate on the database that has the specified certificate source type. |
![]() |
Create(String, CertificateSourceType, String, String) | Creates a certificate on the database that has the specified certificate source type. |
![]() |
Create(String, CertificateSourceType, String, String, String) | Creates a certificate on the database that has the specified certificate source type. |
![]() |
CreateImpl | (Geerbt von SqlSmoObject.) |
![]() |
CreateImplFinish | (Geerbt von SqlSmoObject.) |
![]() |
CreateImplInit | (Geerbt von SqlSmoObject.) |
![]() |
Deny(ObjectPermissionSet, String) | Denies the specified set of permissions for the specified grantee on the certificate. |
![]() |
Deny(ObjectPermissionSet, array<String> [] () [] []) | Denies the specified set of permissions for the specified grantees on the certificate. |
![]() |
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. |
![]() |
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. |
![]() |
Discover | (Geerbt von SqlSmoObject.) |
![]() |
Drop | Removes the certificate from the instance of SQL Server. |
![]() |
DropImpl | (Geerbt von SqlSmoObject.) |
![]() |
DropImplWorker | (Geerbt von SqlSmoObject.) |
![]() |
EnumObjectPermissions() () () () | Enumerates a list of object permissions for the certificate. |
![]() |
EnumObjectPermissions(String) | Enumerates a list of object permissions for a specified grantee on the certificate. |
![]() |
EnumObjectPermissions(ObjectPermissionSet) | Enumerates a list of object permissions for a specified permission on the certificate. |
![]() |
EnumObjectPermissions(String, ObjectPermissionSet) | Enumerates a list of object permissions for a specified grantee and a specified permission on the certificate. |
![]() |
EnumScriptImpl | (Geerbt von SqlSmoObject.) |
![]() |
EnumScriptImplWorker | (Geerbt von SqlSmoObject.) |
![]() |
Equals | (Geerbt von Object.) |
![]() |
Export(String) | Saves the certificate in the specified system path location. |
![]() |
Export(String, String, String) | Saves the certificate in the specified system path location. |
![]() |
Export(String, String, String, String) | Saves the certificate in the specified system path location. |
![]() |
Finalize | (Geerbt von Object.) |
![]() |
FormatSqlVariant | (Geerbt von SqlSmoObject.) |
![]() |
GenerateDataSpaceFileStreamScript | (Geerbt von SqlSmoObject.) |
![]() |
GenerateDataSpaceScript | (Geerbt von SqlSmoObject.) |
![]() |
GetBindDefaultScript | (Geerbt von SqlSmoObject.) |
![]() |
GetBindRuleScript | (Geerbt von SqlSmoObject.) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Geerbt von SqlSmoObject.) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Geerbt von SqlSmoObject.) |
![]() |
GetDateTimeParameter | (Geerbt von SqlSmoObject.) |
![]() |
GetDateTimeParameterAsInt | (Geerbt von SqlSmoObject.) |
![]() |
GetDBName | Gets the database name that is associated with the object. (Geerbt von SqlSmoObject.) |
![]() |
GetEnumParameter | (Geerbt von SqlSmoObject.) |
![]() |
GetFragOptionString | (Geerbt von SqlSmoObject.) |
![]() |
GetGuidParameter | (Geerbt von SqlSmoObject.) |
![]() |
GetHashCode | (Geerbt von Object.) |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Geerbt von SqlSmoObject.) |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Geerbt von SqlSmoObject.) |
![]() |
GetPropValue | (Geerbt von SqlSmoObject.) |
![]() |
GetPropValueOptional | (Geerbt von SqlSmoObject.) |
![]() |
GetPropValueOptionalAllowNull | (Geerbt von SqlSmoObject.) |
![]() |
GetRealValue | (Geerbt von SqlSmoObject.) |
![]() |
GetScriptingOptionsForCreate | (Geerbt von SqlSmoObject.) |
![]() |
GetServerName | Gets the name of the instance of SQL Server with which the object is associated. (Geerbt von SqlSmoObject.) |
![]() |
GetServerObject | (Geerbt von SqlSmoObject.) |
![]() |
GetSqlServerVersionName | Gets the version name of the instance of SQL Server with which the object is associated. (Geerbt von SqlSmoObject.) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Geerbt von SqlSmoObject.) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Geerbt von SqlSmoObject.) |
![]() |
GetTimeSpanParameterAsInt | (Geerbt von SqlSmoObject.) |
![]() |
GetType | (Geerbt von Object.) |
![]() |
GetUrnRecursive(StringBuilder) | (Geerbt von SqlSmoObject.) |
![]() |
GetUrnRecursive(StringBuilder, UrnIdOption) | (Geerbt von SqlSmoObject.) |
![]() |
Grant(ObjectPermissionSet, String) | Grants the specified set of permissions to the specified grantee on the certificate. |
![]() |
Grant(ObjectPermissionSet, array<String> [] () [] []) | Grants the specified set of permissions to the specified grantees on the certificate. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
ImplInitialize | (Geerbt von SqlSmoObject.) |
![]() |
Initialize() () () () | Initializes the object and forces the properties be loaded. (Geerbt von SqlSmoObject.) |
![]() |
Initialize(Boolean) | Initializes the object and forces the properties be loaded. (Geerbt von SqlSmoObject.) |
![]() |
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.) |
![]() |
IsObjectInitialized | Verifies whether the object has been initialized. (Geerbt von SqlSmoObject.) |
![]() |
IsObjectInSpace | Verifies whether the object is isolated or connected to the instance of SQL Server. (Geerbt von SqlSmoObject.) |
![]() |
IsVersion80SP3 | (Geerbt von SqlSmoObject.) |
![]() |
MarkDropped | (Geerbt von SqlSmoObject.) |
![]() |
MarkForDropImpl | (Geerbt von SqlSmoObject.) |
![]() |
MemberwiseClone | (Geerbt von Object.) |
![]() |
PostAlter | (Geerbt von SqlSmoObject.) |
![]() |
PostCreate | (Geerbt von SqlSmoObject.) |
![]() |
PostDrop | (Geerbt von SqlSmoObject.) |
![]() |
Refresh | Refreshes the object and retrieves properties when the object is next accessed. (Geerbt von SqlSmoObject.) |
![]() |
RemovePrivateKey | Removes the private key from the certificate. |
![]() |
RenameImpl | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) |
![]() |
RenameImplWorker | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) |
![]() |
Revoke(ObjectPermissionSet, String) | Revokes a previously granted set of permissions from a grantee on the certificate. |
![]() |
Revoke(ObjectPermissionSet, array<String> [] () [] []) | Revokes a previously granted set of permissions from a list of grantees on the certificate. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
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. |
![]() |
ScriptAlter | (Geerbt von SqlSmoObject.) |
![]() |
ScriptChangeOwner | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) |
![]() |
ScriptCreate | (Geerbt von SqlSmoObject.) |
![]() |
ScriptDdl | (Geerbt von SqlSmoObject.) |
![]() |
ScriptDrop | (Geerbt von SqlSmoObject.) |
![]() |
ScriptImpl() () () () | (Geerbt von SqlSmoObject.) |
![]() |
ScriptImpl(ScriptingOptions) | (Geerbt von SqlSmoObject.) |
![]() |
ScriptImplWorker | (Geerbt von SqlSmoObject.) |
![]() |
ScriptRename | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Geerbt von NamedSmoObject.) |
![]() |
SetParentImpl | (Geerbt von SqlSmoObject.) |
![]() |
ToString | Returns a String that represents the referenced object. (Geerbt von SqlSmoObject.) |
![]() |
TouchImpl | (Geerbt von SqlSmoObject.) |
![]() |
UnbindDefaultImpl | (Geerbt von SqlSmoObject.) |
![]() |
UnbindRuleImpl | (Geerbt von SqlSmoObject.) |
![]() |
Validate | (Geerbt von SmoObjectBase.) |
Zum Anfang
Eigenschaften
| Name | Beschreibung | |
|---|---|---|
![]() |
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. |
![]() |
Events | Gets the events that are associated with the certificate. |
![]() |
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Geerbt von SqlSmoObject.) |
![]() |
ExpirationDate | Gets or sets the date and time at which the certificate expires. |
![]() |
ID | Gets the ID value that uniquely identifies the certificate. |
![]() |
Issuer | Gets the issuer of the certificate. |
![]() |
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.) |
![]() |
LastBackupDate | Gets or sets the date and time at which the certificate was last backed up. |
![]() |
Name | Gets or sets the name of the object. (Geerbt von NamedSmoObject.) |
![]() |
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.) |
![]() |
Owner | Gets or sets the name of the database principal that is the owner of the certificate. |
![]() |
Parent | Gets or sets the Server object that owns the Certificate object. |
![]() |
PrivateKeyEncryptionType | Gets the encryption type of the private key for the certificate. |
![]() |
Properties | Gets a collection of Property objects that represent the object properties. (Geerbt von SqlSmoObject.) |
![]() |
ScalarResult | Gets the scalar result for the referenced object. (Geerbt von SqlSmoObject.) |
![]() |
Serial | Gets the serial number of the certificate. |
![]() |
Sid | Gets the logon security identifier (SID) for the certificate. |
![]() |
StartDate | Gets or sets the date and time from which the certificate is effective. |
![]() |
State | Gets the state of the referenced object. (Geerbt von SmoObjectBase.) |
![]() |
Subject | Gets or sets the subject of the certificate. |
![]() |
Thumbprint | Gets the globally unique SHA-1 hash thumbprint for the certificate. |
![]() |
Urn | Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Geerbt von SqlSmoObject.) |
![]() |
UserData | Gets or sets user-defined data associated with the referenced object. (Geerbt von SmoObjectBase.) |
Zum Anfang
Ereignisse
| Name | Beschreibung | |
|---|---|---|
![]() |
PropertyChanged | (Geerbt von SqlSmoObject.) |
![]() |
PropertyMetadataChanged | (Geerbt von SqlSmoObject.) |
Zum Anfang
Explizite Schnittstellenimplementierungen
| Name | Beschreibung | |
|---|---|---|
![]() ![]() |
IAlienObjectDiscover | (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetParent | (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetProperty | (Geerbt von SqlSmoObject.) |
![]() ![]() |
ISfcPropertyProviderGetPropertySet | (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetUrn | (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObjectResolve | (Geerbt von SqlSmoObject.) |
![]() ![]() |
IAlienObjectSetProperty | (Geerbt von SqlSmoObject.) |
Zum Anfang
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)