다음을 통해 공유


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)
Available in Sandboxed Solutions: No

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