مشاركة عبر


Credential.ProviderName Property

Gets or sets the name of the provider.

This API is not CLS-compliant. 

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

Syntax

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

value = instance.ProviderName

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

Property Value

Type: System.String
A String value that specifies the name of the provider.

Examples

Setting Properties

See Also

Reference

Credential Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE CREDENTIAL (Transact-SQL)

Credentials (Database Engine)