共用方式為


SPUserSettingsProviderManager.GetUserSettingsProvider method

會取得使用者設定提供者。如果找不到提供者,會傳回 NULL。

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

Syntax

'宣告
Public Function GetUserSettingsProvider ( _
    providerId As Guid _
) As SPUserSettingsProvider
'用途
Dim instance As SPUserSettingsProviderManager
Dim providerId As Guid
Dim returnValue As SPUserSettingsProvider

returnValue = instance.GetUserSettingsProvider(providerId)
public SPUserSettingsProvider GetUserSettingsProvider(
    Guid providerId
)

參數

傳回值

Type: Microsoft.SharePoint.Administration.SPUserSettingsProvider

請參閱

參照

SPUserSettingsProviderManager class

SPUserSettingsProviderManager members

Microsoft.SharePoint.Administration namespace