共用方式為


SPDatabaseAction.SqlSession Property

Gets an ISqlSession object which represents the SQL database that is being upgraded by calling the SPDatabaseAction object.

Namespace:  Microsoft.SharePoint.Upgrade
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Friend MustOverride ReadOnly Property SqlSession As ISqlSession
    Get
'Usage
Dim value As ISqlSession

value = Me.SqlSession
protected internal abstract ISqlSession SqlSession { get; }

Property Value

Type: Microsoft.SharePoint.Utilities.ISqlSession
An ISqlSession interface which represents the SQL database that is being upgraded by calling SPDatabaseAction object.

See Also

Reference

SPDatabaseAction Class

SPDatabaseAction Members

Microsoft.SharePoint.Upgrade Namespace