SPWeb.AppDatabaseServerReferenceId property

Gets the reference identifier of the server where the database is located. This property can be a null reference (Nothing in Visual Basic).

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

Syntax

'Declaration
Public ReadOnly Property AppDatabaseServerReferenceId As Guid
    Get
'Usage
Dim instance As SPWeb
Dim value As Guid

value = instance.AppDatabaseServerReferenceId
public Guid AppDatabaseServerReferenceId { get; }

Property value

Type: System.Guid
The database GUID.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace