共用方式為


SPQueryUsageEntry.UserDepartment Property

User department of this [Microsoft.SharePoint.Administration.SPQueryUsageEntry].

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property UserDepartment As String
    Get
    Set
'Usage
Dim instance As SPQueryUsageEntry
Dim value As String

value = instance.UserDepartment

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

Property Value

Type: System.String
A String representation of the department.

See Also

Reference

SPQueryUsageEntry Class

SPQueryUsageEntry Members

Microsoft.SharePoint.Administration Namespace