다음을 통해 공유


ContentDatabaseSection.UseWindowsAuthentication Property

Gets or sets a Boolean value that determines whether the selected authentication mode is Windows authentication or SQL Server authentication.

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

Syntax

'Declaration
Public Property UseWindowsAuthentication As Boolean
    Get
    Set
'Usage
Dim instance As ContentDatabaseSection
Dim value As Boolean

value = instance.UseWindowsAuthentication

instance.UseWindowsAuthentication = value
public bool UseWindowsAuthentication { get; set; }

Property Value

Type: System.Boolean
true if using Windows authentication; false if using SQL Server authentication.

See Also

Reference

ContentDatabaseSection Class

ContentDatabaseSection Members

Microsoft.SharePoint.WebControls Namespace