> ## 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.

# NSLicenseResult

> Carrier object for LicenseResult.

Carrier object for LicenseResult.

## Constructors

### NSLicenseResult()

```crmscript theme={null}
NSLicenseResult
```

Initializes a new instance of the NSLicenseResult class.

## Methods

## GetReason()

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

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

**Example:**

```crmscript theme={null}
NSLicenseResult thing;
String reason = thing.GetReason();
```

## GetSucceeded()

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

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

**Example:**

```crmscript theme={null}
NSLicenseResult thing;
Bool succeeded = thing.GetSucceeded();
```

## SetReason(String)

```crmscript theme={null}
Void SetReason(String reason)
```

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

**Example:**

```crmscript theme={null}
NSLicenseResult thing;
String reason;
thing.SetReason(reason);
```

## SetSucceeded(Bool)

```crmscript theme={null}
Void SetSucceeded(Bool succeeded)
```

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

**Example:**

```crmscript theme={null}
NSLicenseResult thing;
Bool succeeded;
thing.SetSucceeded(succeeded);
```


## Related topics

- [NSLicenseAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSLicenseAgent.md)
- [NSCheckLicenseStatusResult](/en/automation/crmscript/reference/CRMScript.NetServer.NSCheckLicenseStatusResult.md)
- [SuperOffice.WebApi.Data.LicenseResult](/en/api/reference/webapi/SuperOffice.WebApi.Data.LicenseResult.md)
- [SuperOffice.WebApi.Data.CheckLicenseStatusResult](/en/api/reference/webapi/SuperOffice.WebApi.Data.CheckLicenseStatusResult.md)
- [Namespace CRMScript.NetServer](/en/automation/crmscript/reference/CRMScript.NetServer.md)
- [License](/en/automation/crmscript/reference/CRMScript.Native.License.md)
