Delen via


AsymmetricKey.ProviderName Property

Gets or sets an asymmetric security key provider name.

This API is not CLS-compliant. 

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<CLSCompliantAttribute(False)> _
<SfcReferenceAttribute(GetType(CryptographicProvider), "Server[@Name = '{0}']/CryptographicProvider[@Name = '{1}']",  _
    )> _
Public Property ProviderName As String 
    Get 
    Set
'Usage
Dim instance As AsymmetricKey 
Dim value As String 

value = instance.ProviderName

instance.ProviderName = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(CryptographicProvider), "Server[@Name = '{0}']/CryptographicProvider[@Name = '{1}']", 
    )]
public string ProviderName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(CryptographicProvider), L"Server[@Name = '{0}']/CryptographicProvider[@Name = '{1}']", 
    )]
public:
property String^ ProviderName {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(CryptographicProvider), "Server[@Name = '{0}']/CryptographicProvider[@Name = '{1}']", 
    )>]
member ProviderName : string with get, set
function get ProviderName () : String 
function set ProviderName (value : String)

Property Value

Type: System.String
Returns a String value that identifies the key provider name.

See Also

Reference

AsymmetricKey Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE ASYMMETRIC KEY (Transact-SQL)