Extensions.Encrypt Method (DataPipelineManagementClient, String, String, String)

Encrypts the value passed as a String.

Namespace: Microsoft.Azure.Management.DataFactories
Assembly: Microsoft.DataFactories.Runtime (in Microsoft.DataFactories.Runtime.dll)

Usage

'Usage
Dim client As DataPipelineManagementClient
Dim value As String
Dim resourceGroupName As String
Dim dataFactoryName As String
Dim returnValue As String

returnValue = Extensions.Encrypt(client, value, resourceGroupName, dataFactoryName)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Encrypt ( _
    client As DataPipelineManagementClient, _
    value As String, _
    resourceGroupName As String, _
    dataFactoryName As String _
) As String
[ExtensionAttribute] 
public static string Encrypt (
    DataPipelineManagementClient client,
    string value,
    string resourceGroupName,
    string dataFactoryName
)
[ExtensionAttribute] 
public:
static String^ Encrypt (
    DataPipelineManagementClient^ client, 
    String^ value, 
    String^ resourceGroupName, 
    String^ dataFactoryName
)
/** @attribute ExtensionAttribute() */ 
public static String Encrypt (
    DataPipelineManagementClient client, 
    String value, 
    String resourceGroupName, 
    String dataFactoryName
)
ExtensionAttribute 
public static function Encrypt (
    client : DataPipelineManagementClient, 
    value : String, 
    resourceGroupName : String, 
    dataFactoryName : String
) : String

Parameters

  • client
    Client that passed the value.
  • value
    Value that needs to be encrypted. This is a regular String, not a SecureString.
  • resourceGroupName
    Name of the resource group.
  • dataFactoryName
    Name of the data factory.

Return Value

Encrypted string.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

Extensions Class
Extensions Members
Microsoft.Azure.Management.DataFactories Namespace