SPUtility.SendRequestAccessToOwner method
NOTE: This API is now obsolete.
將存取要求電子郵件訊息傳送給清單或網站的擁有者。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function SendRequestAccessToOwner ( _
web As SPWeb, _
objType As SPObjectType, _
objId As String, _
txtMessageBody As String _
) As Boolean
'用途
Dim web As SPWeb
Dim objType As SPObjectType
Dim objId As String
Dim txtMessageBody As String
Dim returnValue As Boolean
returnValue = SPUtility.SendRequestAccessToOwner(web, _
objType, objId, txtMessageBody)
public static bool SendRequestAccessToOwner(
SPWeb web,
SPObjectType objType,
string objId,
string txtMessageBody
)
參數
web
Type: Microsoft.SharePoint.SPWebMicrosoft.SharePoint.SPWeb物件,代表該網站。
objType
Type: Microsoft.SharePoint.SPObjectType會指定物件為清單或站台Microsoft.SharePoint.SPObjectType值。
objId
Type: System.String清單或網站的識別碼。
txtMessageBody
Type: System.String字串,包含其擁有人溝通訊息。
傳回值
Type: System.Boolean
true如果電子郵件傳送給擁有者 ;否則,請false。