New-DssDocumentStoreSqlConnectionInfo
SYNOPSIS
SYNTAX
DefaultParamSet (Default)
New-DssDocumentStoreSqlConnectionInfo [-ServerName <String>] [-DatabaseName <String>] [-AsUser <String>]
[-AsUserPassword <String>] [-AccountType <ServiceAccountType>] [-UseExclusiveAccessMode]
[-RestoreAccessModeAfterError] [-BeginUseEmpty] [-SkipCreateLogin] [-RepairDatabaseChecksums]
[-SkipValidation] [-TraceLogPath <String>] [-UseExistingDB] [-CreateBackUp] [-WhatIf] [-Confirm]
[<CommonParameters>]
BuiltInServiceAccount
New-DssDocumentStoreSqlConnectionInfo [-ServerName <String>] [-DatabaseName <String>] [-AsUser <String>]
[-AsUserPassword <String>] [-AccountType <ServiceAccountType>] [-UseExclusiveAccessMode]
[-RestoreAccessModeAfterError] [-BeginUseEmpty] [-SkipCreateLogin] [-RepairDatabaseChecksums]
[-UseNetworkService] [-SkipValidation] [-TraceLogPath <String>] [-UseExistingDB] [-CreateBackUp] [-WhatIf]
[-Confirm] [<CommonParameters>]
ExplicitServiceAccount
New-DssDocumentStoreSqlConnectionInfo [-ServerName <String>] [-DatabaseName <String>] [-AsUser <String>]
[-AsUserPassword <String>] [-AccountType <ServiceAccountType>] [-UseExclusiveAccessMode]
[-RestoreAccessModeAfterError] [-BeginUseEmpty] [-SkipCreateLogin] [-RepairDatabaseChecksums]
[-ServiceAccountName <String>] [-ServiceAccountPassword <String>] [-SkipValidation] [-TraceLogPath <String>]
[-UseExistingDB] [-CreateBackUp] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
{{ Fill in the Description }}
EXAMPLES
Example 1
PS C:\> {{ Add example code here }}
{{ Add example description here }}
PARAMETERS
-ServerName
Адрес экземпляра SQL сервера
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DatabaseName
Название базы данных
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AsUser
Имя учётной записи, от имени которой будет выполняться подключение к БД
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AsUserPassword
Пароль учётной записи, от имени которой будет выполняться подключение к БД
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AccountType
Possible values: AutoDetect, Windows, SqlAccount
Type: ServiceAccountType
Parameter Sets: (All)
Aliases:
Accepted values: AutoDetect, Windows, SqlAccount
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-UseExclusiveAccessMode
Будет ли БД переведена в SINGLE_USER режим на время обновления
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-RestoreAccessModeAfterError
Будет ли БД возвращена в MULTI_USER режим на время обновления
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-BeginUseEmpty
Использовать существующую пустую БД
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-SkipCreateLogin
Не создавать SQL логин.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-RepairDatabaseChecksums
Восстановить контрольные суммы при обновлении БД
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-UseNetworkService
Использовать учётную запись NetworkService в качестве учётной записи службы
Type: SwitchParameter
Parameter Sets: BuiltInServiceAccount
Aliases:
Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-ServiceAccountName
Имя учетной записи сервиса DSS
Type: String
Parameter Sets: ExplicitServiceAccount
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ServiceAccountPassword
Пароль учетной записи сервиса DSS
Type: String
Parameter Sets: ExplicitServiceAccount
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-SkipValidation
Не проверять размещение SQL сервера
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-TraceLogPath
Путь для записи трассировки обновления базы данных
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-UseExistingDB
Использовать существующую базу данных
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-CreateBackUp
Создавать бекап базы данных перед обновлением
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.