EDataServer.SourceSecurity.set_method

### Method

# EDataServer SourceSecurityset_method

since: 3.6

#### Declaration [src]

    void
    e_source_security_set_method (
      ESourceSecurity* extension,
      const gchar* method
    )

#### Description [src]

Sets the method used to establish a secure network connection to a remote account. There are no pre-defined method names; backends are free to set this however they wish. If a secure connection is not desired, the convention is to set `ESourceSecurity:method` to “none”. In keeping with that convention, `ESourceSecurity:method` will be set to “none” if `method` is `NULL` or an empty string.

Available since: 3.6

Sets property | `EDataServer.SourceSecurity:method`

#### Parameters

`method`

  Type: `const gchar*`

  Security method, or `NULL`.

  The argument can be `NULL`.
  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.