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

# NSCheckLicenseStatusResult

> Result of NSCheckLicenseStatus.

Result of NSCheckLicenseStatus.

## Constructors

### NSCheckLicenseStatusResult()

```crmscript theme={null}
NSCheckLicenseStatusResult
```

Initializes a new instance of the NSCheckLicenseStatusResult class.

## Methods

## GetLicenseStatus()

```crmscript theme={null}
Integer GetLicenseStatus()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - See \<xref href="CRMScript.NetServer.LicenseStatus" data-throw-if-not-resolved="false">\</xref>.

**Example:**

```crmscript theme={null}
NSCheckLicenseStatusResult thing;
Integer licenseStatus = thing.GetLicenseStatus();
```

## GetMessage()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Message to display in SOADMIN if LinkType=90.

**Example:**

```crmscript theme={null}
NSCheckLicenseStatusResult thing;
String message = thing.GetMessage();
```

## GetUrl()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - URL to show to the user. This is relevant when LinkType is 60.

**Example:**

```crmscript theme={null}
NSCheckLicenseStatusResult thing;
String url = thing.GetUrl();
```

## SetLicenseStatus(Integer)

```crmscript theme={null}
Void SetLicenseStatus(Integer licenseStatus)
```

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

**Example:**

```crmscript theme={null}
NSCheckLicenseStatusResult thing;
Integer licenseStatus;
thing.SetLicenseStatus(licenseStatus);
```

## SetMessage(String)

```crmscript theme={null}
Void SetMessage(String message)
```

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

**Example:**

```crmscript theme={null}
NSCheckLicenseStatusResult thing;
String message;
thing.SetMessage(message);
```

## SetUrl(String)

```crmscript theme={null}
Void SetUrl(String url)
```

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

**Example:**

```crmscript theme={null}
NSCheckLicenseStatusResult thing;
String url;
thing.SetUrl(url);
```


## Related topics

- [NSLicenseAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSLicenseAgent.md)
- [Namespace CRMScript.NetServer](/en/automation/crmscript/reference/CRMScript.NetServer.md)
- [SuperOffice.WebApi.Data.CheckLicenseStatusResult](/en/api/reference/webapi/SuperOffice.WebApi.Data.CheckLicenseStatusResult.md)
- [Enum LicenseStatus](/en/automation/crmscript/reference/CRMScript.NetServer.LicenseStatus.md)
- [SuperOffice.WebApi.Data.LicenseStatus](/en/api/reference/webapi/SuperOffice.WebApi.Data.LicenseStatus.md)
- [SuperOffice.WebApi.Agents.LicenseAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.LicenseAgent.md)
