Share via


SPMonitoredScope.Name property

Gets or sets the friendly name for a given scoped block of code.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property Name As String
    Get
    Set
'Usage
Dim instance As SPMonitoredScope
Dim value As String

value = instance.Name

instance.Name = value
public string Name { get; set; }

Property value

Type: System.String
A string that is the friendly name of the given scope.

See also

Reference

SPMonitoredScope class

SPMonitoredScope members

Microsoft.SharePoint.Utilities namespace