次の方法で共有


GroupCollection.GetByName メソッド

Returns a cross-site group from the collection based on the name of the group.

名前空間:  Microsoft.SharePoint.Client
アセンブリ:   Microsoft.SharePoint.Client.Silverlight (Microsoft.SharePoint.Client.Silverlight.dll 内);  Microsoft.SharePoint.Client.Phone (Microsoft.SharePoint.Client.Phone.dll 内)  Microsoft.SharePoint.Client (Microsoft.SharePoint.Client.dll 内)

構文

'宣言
Public Function GetByName ( _
    name As String _
) As Group
'使用
Dim instance As GroupCollection
Dim name As String
Dim returnValue As Group

returnValue = instance.GetByName(name)
public Group GetByName(
    string name
)

パラメーター

戻り値

型: Microsoft.SharePoint.Client.Group
SPGroup object that represents the group.

注釈

The name parameter value corresponds to the group name for the cross-site group, which is contained in the Microsoft.SharePoint.SPMember class.

関連項目

参照先

GroupCollection クラス

GroupCollection メンバー

Microsoft.SharePoint.Client 名前空間