Propriedade do RDL Certificate.Subject

Gets or sets the subject of the certificate.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property Subject As String 
    Get 
    Set
'Uso
Dim instance As Certificate 
Dim value As String 

value = instance.Subject

instance.Subject = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public string Subject { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property String^ Subject {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member Subject : string with get, set
function get Subject () : String 
function set Subject (value : String)

Valor da propriedade

Tipo: System.String
A String value that specifies the subject of the certificate.

Exemplos

Usando a criptografia

Consulte também

Referência

Certificate Classe

Namespace Microsoft.SqlServer.Management.Smo

Outros recursos

Hierarquia de criptografia

CREATE CERTIFICATE (Transact-SQL)