Compartilhar via


SPUserCodeExecutionContext.SolutionId Property

Gets or sets a globally unique identifier (GUID) that identifies the user code to be executed.

Namespace:  Microsoft.SharePoint.UserCode
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Property SolutionId As Guid
    Get
    Set
'Usage
Dim instance As SPUserCodeExecutionContext
Dim value As Guid

value = instance.SolutionId

instance.SolutionId = value
public Guid SolutionId { get; set; }

Property Value

Type: System.Guid
The GUID that identifies the code to be executed.

Remarks

Full Trust permissions are required to set this property.

See Also

Reference

SPUserCodeExecutionContext Class

SPUserCodeExecutionContext Members

Microsoft.SharePoint.UserCode Namespace