C\# connector methods
reference australia Updated Sep 10, 2026 1 min read connector-c-methods.md
The C# connector method enables you to execute the custom C# scripts you had written while configuring the C#.Net connector.
Execute
Executes C# scripts set up in the configuration window. Before executing the method, you must configure the connector. See Configure the C#.Net connector.
To execute, do the following steps.
-
Click the method settings icon ([Omitted image "component-settings-icon.png"] Alt text: Method settings icon).
-
From the Classes list, select the class defined during the configuration of the C#.NET connector.
-
From the Methods list, select the method defined during the configuration of the C#.NET connector.
-
Click OK.
A Data Out port is created to return the output.
-
To test the method, under the DESIGN tab, click Run.
| Parameter | Description | Data port type | Data type | Default value | Mandatory |
|---|---|---|---|---|---|
| Result | Returns the output of the script. | Data Out | String | Not applicable | Not applicable |
Parent Topic:C#.Net
38 lines · 1.9 KB
---
title: C\# connector methods
description: The C\# connector method enables you to execute the custom C\# scripts you had written while configuring the C\#.Net connector.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/integrate-applications/connector-c-methods.html
release: australia
topic_type: reference
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [C\#.Net, Connectors, Automation components, RPA Desktop Design Studio, Robotic Process Automation \(RPA\) Hub, Workflow Data Fabric]
---
# C\# connector methods
The C\# connector method enables you to execute the custom C\# scripts you had written while configuring the C\#.Net connector.
## Execute
Executes C\# scripts set up in the configuration window. Before executing the method, you must configure the connector. See [Configure the C\#.Net connector](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/configure-C-net-connector.md).
To execute, do the following steps.
1. Click the method settings icon \(\[Omitted image "component-settings-icon.png"\] Alt text: Method settings icon\).
2. From the **Classes** list, select the class defined during the configuration of the C\#.NET connector.
3. From the **Methods** list, select the method defined during the configuration of the C\#.NET connector.
4. Click **OK**.
A Data Out port is created to return the output.
5. To test the method, under the **DESIGN** tab, click **Run**.
|Parameter|Description|Data port type|Data type|Default value|Mandatory|
|---------|-----------|--------------|---------|-------------|---------|
|Result|Returns the output of the script.|Data Out|String|Not applicable|Not applicable|
**Parent Topic:**[C\#.Net](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/integrate-applications/c.md)
| title | C\# connector methods |
| description | The C\# connector method enables you to execute the custom C\# scripts you had written while configuring the C\#.Net connector. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/integrate-applications/connector-c-methods.html |
| release | australia |
| topic_type | reference |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | C\#.NetConnectorsAutomation componentsRPA Desktop Design StudioRobotic Process Automation \(RPA\) HubWorkflow Data Fabric |