Partager via


Propriété ObjectNameOrPassword

Gets or sets the object name or the password associated with the symmetric key encryption.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Property ObjectNameOrPassword As String
    Get
    Set
'Utilisation
Dim instance As SymmetricKeyEncryption
Dim value As String

value = instance.ObjectNameOrPassword

instance.ObjectNameOrPassword = value
public string ObjectNameOrPassword { get; set; }
public:
property String^ ObjectNameOrPassword {
    String^ get ();
    void set (String^ value);
}
member ObjectNameOrPassword : string with get, set
function get ObjectNameOrPassword () : String
function set ObjectNameOrPassword (value : String)

Valeur de propriété

Type : System. . :: . .String
A String value that specifies the object name or password associated with the symmetric key encryption.