> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSResourceOverride

> The resource entity contains resource information.

The resource entity contains resource information.

## Constructors

### NSResourceOverride()

```crmscript theme={null}
NSResourceOverride
```

Initializes a new instance of the NSResourceOverride class.

## Methods

## GetCulture()

```crmscript theme={null}
String GetCulture()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - .NET-style culture code, such as NB-NO or EN-Uk.

**Example:**

```crmscript theme={null}
NSResourceOverride thing;
String culture = thing.GetCulture();
```

## GetIsActive()

```crmscript theme={null}
Bool GetIsActive()
```

**Returns:** [CRMScript.Global.Bool](CRMScript.Global.Bool) - Is this override active.

**Example:**

```crmscript theme={null}
NSResourceOverride thing;
Bool isActive = thing.GetIsActive();
```

## GetResourceName()

```crmscript theme={null}
String GetResourceName()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The name of the resource, without any brackets or braces. For example, SR\_CONTACt.

**Example:**

```crmscript theme={null}
NSResourceOverride thing;
String resourceName = thing.GetResourceName();
```

## GetResourceValue()

```crmscript theme={null}
String GetResourceValue()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - The value of the resource in the given culture.

**Example:**

```crmscript theme={null}
NSResourceOverride thing;
String resourceValue = thing.GetResourceValue();
```

## SetCulture(String)

```crmscript theme={null}
Void SetCulture(String culture)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSResourceOverride thing;
String culture;
thing.SetCulture(culture);
```

## SetIsActive(Bool)

```crmscript theme={null}
Void SetIsActive(Bool isActive)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSResourceOverride thing;
Bool isActive;
thing.SetIsActive(isActive);
```

## SetResourceName(String)

```crmscript theme={null}
Void SetResourceName(String resourceName)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSResourceOverride thing;
String resourceName;
thing.SetResourceName(resourceName);
```

## SetResourceValue(String)

```crmscript theme={null}
Void SetResourceValue(String resourceValue)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSResourceOverride thing;
String resourceValue;
thing.SetResourceValue(resourceValue);
```


## Related topics

- [NSResourceAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSResourceAgent.md)
- [ResourceOverride table](/en/database/tables/resourceoverride.md)
- [SuperOffice.WebApi.Data.ResourceOverride](/en/api/reference/webapi/SuperOffice.WebApi.Data.ResourceOverride.md)
- [resource](/en/api/mdo-providers/reference/resource.md)
- [Resources](/en/automation/crmscript/howto/diary/book-resource.md)
- [Is Resource Substitution Active](/en/api/reference/restful/agent/resource_agent/is-resource-substitution-active.md)
