SPProcessIdentity类的一个新实例基于指定的名称和保存对象的初始化。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub New ( _
name As String, _
persistedObject As SPPersistedObject _
)
用法
Dim name As String
Dim persistedObject As SPPersistedObject
Dim instance As New SPProcessIdentity(name, persistedObject)
public SPProcessIdentity(
string name,
SPPersistedObject persistedObject
)
参数
name
类型:System.String一个字符串,包含新的进程标识的名称。
persistedObject
类型:Microsoft.SharePoint.Administration.SPPersistedObject一个SPPersistedObject对象。