We recommend using Visual Studio 2017

CertificateSourceType Enumeration

The CertificateSourceType enumeration contains values that are used to specify the source of the certificate.

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

public enum CertificateSourceType

Member nameDescription
ExecutableValue = 2. Loads the certificate from an executable.
FileValue = 1. Loads the certificate from a file.
SqlAssemblyValue = 3. Loads the certificate from the specified assembly.

The CertificateSourceType enumeration class is served by the Create method.