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)


Public ReadOnly Property AppDatabaseServerReferenceId As Guid
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


SPWeb class

SPWeb members

Microsoft.SharePoint namespace