SPProcessIdentity Constructor (String, SPPersistedObject)
Initializes a new instance of the SPProcessIdentity class based on the specified name and persisted object.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub New ( _
name As String, _
persistedObject As SPPersistedObject _
)
'Usage
Dim name As String
Dim persistedObject As SPPersistedObject
Dim instance As New SPProcessIdentity(name, persistedObject)
public SPProcessIdentity(
string name,
SPPersistedObject persistedObject
)
Parameters
name
Type: System.StringA string that contains the name of the new process identity.
persistedObject
Type: Microsoft.SharePoint.Administration.SPPersistedObjectAn SPPersistedObject object.