共用方式為


SPList.DefaultApprovalWorkflowId Property

NOTE: This API is now obsolete.

Use the DefaultContentApprovalWorkflowId property instead.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Use the DefaultContentApprovalWorkflowId property instead")> _
Public Property DefaultApprovalWorkflowId As Guid
    Get
    Set
'Usage
Dim instance As SPList
Dim value As Guid

value = instance.DefaultApprovalWorkflowId

instance.DefaultApprovalWorkflowId = value
[ObsoleteAttribute("Use the DefaultContentApprovalWorkflowId property instead")]
public Guid DefaultApprovalWorkflowId { get; set; }

Property Value

Type: System.Guid

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace

SPList