共用方式為


UserProfileManager.MySiteHostUrl Property

Gets or sets the URL to the site which hosts MySites for the current context.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Property MySiteHostUrl As String
    Get
    Set
'Usage
Dim instance As UserProfileManager
Dim value As String

value = instance.MySiteHostUrl

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

Property Value

Type: System.String

See Also

Reference

UserProfileManager Class

UserProfileManager Members

Microsoft.Office.Server.UserProfiles Namespace